Skip to content

Open source alternatives to paid SaaS apps: Notion, Slack, Auth0, Vercel and more. Curated list with licenses and GitHub stars.

Remove unrelated code files

Anil Chandra Naidu Matcha6d7c7f4eeb2b
diff --git a/src/app/providers.js b/src/app/providers.js
deleted file mode 100644
index 659111e..0000000
--- a/src/app/providers.js
+++ /dev/null
@@ -1,20 +0,0 @@
-"use client";
-
-import { SessionProvider } from "next-auth/react";
-import { useEffect } from "react";
-import config from "@/lib/config";
-
-export function Providers({ children }) {
- useEffect(() => {
- if (typeof window !== "undefined") {
- const theme = config?.theme || "slate-indigo";
- document.documentElement.setAttribute("data-theme", theme);
- }
- }, []);
-
- return (
- <SessionProvider>
- {children}
- </SessionProvider>
- );
-}