Skip to content

Commit

Permalink
feat(web): add nprogress
Browse files Browse the repository at this point in the history
  • Loading branch information
mrevanzak committed Jan 4, 2024
1 parent 1a8b837 commit a071426
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"lucide-react": "^0.292.0",
"next": "^14.0.4",
"next-themes": "^0.2.1",
"nextjs-toploader": "^1.6.4",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "^7.47.0",
Expand Down
2 changes: 2 additions & 0 deletions apps/nextjs/src/app/providers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { ReactQueryDevtools } from "@tanstack/react-query-devtools";
import { ReactQueryStreamedHydration } from "@tanstack/react-query-next-experimental";
import { loggerLink, unstable_httpBatchStreamLink } from "@trpc/client";
import NextTopLoader from "nextjs-toploader";
import superjson from "superjson";

import colors from "@vivat/color-palette";
Expand Down Expand Up @@ -77,6 +78,7 @@ export function TRPCReactProvider(props: {
enableSystem
disableTransitionOnChange
>
<NextTopLoader color={colors.primary} />
{props.children}
<Toaster />
</ThemeProvider>
Expand Down
26 changes: 26 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a071426

Please sign in to comment.