aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/components/theme-provider.tsx
diff options
context:
space:
mode:
authorLibravatarLibravatar Biswa Kalyan Bhuyan <[email protected]> 2025-04-26 15:55:15 +0530
committerLibravatarLibravatar Biswa Kalyan Bhuyan <[email protected]> 2025-04-26 15:55:15 +0530
commit550f111681be38ddfbc8679d01aeac169ef34c1d (patch)
tree1c1c9f8bfef7b89f3a5fe6eee00e1af114154324 /app/src/components/theme-provider.tsx
parentc861ed705bd61eb98984efd9caaddfdd3128155f (diff)
downloadrealtimeloc-550f111681be38ddfbc8679d01aeac169ef34c1d.tar.gz
realtimeloc-550f111681be38ddfbc8679d01aeac169ef34c1d.tar.bz2
realtimeloc-550f111681be38ddfbc8679d01aeac169ef34c1d.zip
feat: updated the more ui and updated the /track page
Diffstat (limited to 'app/src/components/theme-provider.tsx')
-rw-r--r--app/src/components/theme-provider.tsx9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/src/components/theme-provider.tsx b/app/src/components/theme-provider.tsx
new file mode 100644
index 0000000..9fced93
--- /dev/null
+++ b/app/src/components/theme-provider.tsx
@@ -0,0 +1,9 @@
+"use client";
+
+import * as React from "react";
+import { ThemeProvider as NextThemesProvider } from "next-themes";
+import { type ThemeProviderProps } from "next-themes/dist/types";
+
+export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
+ return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
+} \ No newline at end of file