Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/stellar/laboratory into sc-…
Browse files Browse the repository at this point in the history
…contract-spec
  • Loading branch information
quietbits committed Mar 4, 2025
2 parents cb42bc3 + 874a9b2 commit fbbb25f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/query/useAccountInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const useAccountInfo = ({
headers: NetworkHeaders;
}) => {
const query = useQuery({
queryKey: ["useAccountInfo", publicKey],
queryKey: ["accountInfo", publicKey],
queryFn: async () => {
try {
const response = await fetch(`${horizonUrl}/accounts/${publicKey}`, {
Expand Down
2 changes: 1 addition & 1 deletion src/query/useAccountSequenceNumber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const useAccountSequenceNumber = ({
headers: NetworkHeaders;
}) => {
const query = useQuery({
queryKey: ["useAccountSequenceNumber", { publicKey }],
queryKey: ["accountSequenceNumber", { publicKey }],
queryFn: async () => {
let sourceAccount = publicKey;

Expand Down
2 changes: 1 addition & 1 deletion src/query/useLatestLedger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const useLatestLedger = ({
headers: NetworkHeaders;
}) => {
const query = useQuery({
queryKey: ["useLatestLedger"],
queryKey: ["latestLedger"],
queryFn: async () => {
const rpcServer = new StellarRpc.Server(rpcUrl, {
headers,
Expand Down

0 comments on commit fbbb25f

Please sign in to comment.