Skip to content

Commit

Permalink
chore: fix build for registry
Browse files Browse the repository at this point in the history
  • Loading branch information
npty committed Feb 21, 2025
1 parent f9c9d17 commit f40078b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion apps/registry/src/app/chains/[network]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const ChainsLayout: FC<Props> = (props) => {

const createQueryString = useCallback(
(name: string, value: string) => {
const params = new URLSearchParams(searchParams);
const params = new URLSearchParams(searchParams.toString());
params.set(name, value);

return params.toString();
Expand Down Expand Up @@ -60,6 +60,7 @@ const ChainsLayout: FC<Props> = (props) => {
{CHAIN_TABS.map((tab) => (
<Tabs.Tab
active={tab.value === props.params.network}
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
key={tab.value}
$as={Link}
href={`/chains/${tab.value}`}
Expand Down
2 changes: 1 addition & 1 deletion apps/registry/src/app/chains/_shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ export const CHAIN_TABS = [
label: "Cosmos Chains",
value: "cosmos",
},
];
] as const;

0 comments on commit f40078b

Please sign in to comment.