Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: drop chain-registry usage #63

3 changes: 1 addition & 2 deletions src/api/queries.ts
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@thal0x why the hell this works lol

Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { Chain as ChainType } from "@graz-sh/types";
import { Chain as SkipChain } from "@skip-router/core";
import { useQuery } from "@tanstack/react-query";

Expand All @@ -7,7 +6,7 @@ import { useSkipClient } from "@/solve";

export type Chain = {
prettyName: string;
record?: ChainType;
record?: (typeof chainRecord)[string];
} & SkipChain;

export type UseChainsQueryArgs<T = Chain[]> = {
Expand Down
Loading