1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-10-28 20:55:47 -04:00

separate ThemeContext and useTheme code

This commit is contained in:
2022-04-06 17:40:16 -04:00
parent eccf2108c7
commit 25aed87b21
9 changed files with 165 additions and 175 deletions

View File

@@ -2,7 +2,7 @@ import { useEffect } from "react";
import { useRouter } from "next/router";
import { DefaultSeo, SocialProfileJsonLd } from "next-seo";
import * as Fathom from "fathom-client";
import { ThemeProvider } from "../hooks/use-theme";
import { ThemeProvider } from "../contexts/ThemeContext";
import Layout from "../components/Layout";
import * as config from "../lib/config";
import { defaultSeo, socialProfileJsonLd } from "../lib/config/seo";