Skip to content

Commit

Permalink
Revert "fix: Toploader loads endlessly on CMD + click (#101)" (#102)
Browse files Browse the repository at this point in the history
This reverts commit c7cb289.
  • Loading branch information
gokulkrishh authored Dec 16, 2023
1 parent c7cb289 commit 6d88d24
Show file tree
Hide file tree
Showing 4 changed files with 11,842 additions and 10,627 deletions.
3 changes: 2 additions & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"^constants/(.*)$",
"^data/(.*)$",
"^styles/(.*)$",
"^[./]"
"^[./]",
"^nprogress/nprogress.css$"
],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true,
Expand Down
4 changes: 2 additions & 2 deletions app/dashboard/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { cookies } from 'next/headers';
import Script from 'next/script';

import { createServerComponentClient } from '@supabase/auth-helpers-nextjs';
import HolyLoader from 'holy-loader';
import NextTopLoader from 'nextjs-toploader';

import { AuthProvider } from 'components/context/auth-provider';
import { SidebarContextProvider } from 'components/context/sidebar-provider';
Expand Down Expand Up @@ -57,7 +57,7 @@ export default async function Layout({ children }: any) {
<>
<html lang="en" suppressHydrationWarning>
<body className={`${inter.className} flex h-full flex-col text-gray-600 antialiased`}>
<HolyLoader color="#0076ff" height={2} />
<NextTopLoader color="#0076ff" height={2} showSpinner={false} />
<AuthProvider user={user} accessToken={session?.access_token || null}>
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
<main className="relative flex min-h-full min-w-full bg-background">
Expand Down
Loading

1 comment on commit 6d88d24

@vercel
Copy link

@vercel vercel bot commented on 6d88d24 Dec 16, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.