Skip to content

Commit

Permalink
Modify search to save as cookies, fix rating scroll bug
Browse files Browse the repository at this point in the history
  • Loading branch information
DCRepublic committed Dec 19, 2024
1 parent 8c30fc1 commit c3937a5
Show file tree
Hide file tree
Showing 8 changed files with 322 additions and 279 deletions.
8 changes: 8 additions & 0 deletions app/providers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ import { ThemeProvider as NextThemesProvider } from "next-themes";
//import { ThemeProviderProps } from "next-themes/dist/types";
type ThemeProviderProps = React.ComponentProps<typeof NextThemesProvider>;

// Only if using TypeScript
declare module "@react-types/shared" {
interface RouterConfig {
routerOptions: NonNullable<
Parameters<ReturnType<typeof useRouter>["push"]>[1]
>;
}
}
export interface ProvidersProps {
children: React.ReactNode;
themeProps?: ThemeProviderProps;
Expand Down
Loading

0 comments on commit c3937a5

Please sign in to comment.