Skip to content

Commit

Permalink
refactor: remove notistack from project
Browse files Browse the repository at this point in the history
  • Loading branch information
arbisoft-qaisarirfan committed Feb 16, 2025
1 parent d5dbe33 commit bfb1734
Show file tree
Hide file tree
Showing 13 changed files with 290 additions and 188 deletions.
161 changes: 120 additions & 41 deletions package-lock.json

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

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
"mailparser": "^3.7.0",
"nanoid": "^5.0.1",
"next": "14.2.15",
"notistack": "^3.0.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-dropzone": "^14.2.3",
Expand Down
6 changes: 3 additions & 3 deletions src/app/[language]/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { GoogleOAuthProvider } from "@react-oauth/google";
import { dir } from "i18next";
import type { Metadata } from "next";

import SnackbarProvider from "@/components/snackbar-provider";
import { NotificationProvider } from "@/components/Notification";
import InitColorSchemeScript from "@/components/theme/init-color-scheme-script";
import ThemeProvider from "@/components/theme/theme-provider";
import { Providers } from "@/redux/store/provider";
Expand Down Expand Up @@ -54,9 +54,9 @@ export default function RootLayout({
<ReactQueryDevtools initialIsOpen={false} />
<Providers>
<ThemeProvider>
<SnackbarProvider maxSnack={3}>
<NotificationProvider>
<StoreLanguageProvider>{children}</StoreLanguageProvider>
</SnackbarProvider>
</NotificationProvider>
</ThemeProvider>
</Providers>
</QueryClientProvider>
Expand Down
82 changes: 0 additions & 82 deletions src/components/AlertModal/alertModal.stories.tsx

This file was deleted.

29 changes: 0 additions & 29 deletions src/components/AlertModal/alertModal.tsx

This file was deleted.

3 changes: 0 additions & 3 deletions src/components/AlertModal/index.ts

This file was deleted.

10 changes: 0 additions & 10 deletions src/components/AlertModal/styled.tsx

This file was deleted.

7 changes: 0 additions & 7 deletions src/components/AlertModal/types.ts

This file was deleted.

1 change: 1 addition & 0 deletions src/components/Notification/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "./notification";
Loading

0 comments on commit bfb1734

Please sign in to comment.