Skip to content

Commit

Permalink
added theme folder
Browse files Browse the repository at this point in the history
  • Loading branch information
vwh committed Aug 26, 2024
1 parent 9898166 commit b173d6a
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Image from "@/components/image";
import ModeToggle from "@/components/mode-toggle";
import ModeToggle from "@/components/theme/theme-toggle";
import { Button } from "./components/ui/button";
import { GithubIcon } from "lucide-react";

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/hooks/useTheme.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useContext } from "react";
import { ThemeProviderContext } from "@/components/theme-provider";
import { ThemeProviderContext } from "@/components/theme/theme-provider";

export const useTheme = () => {
const context = useContext(ThemeProviderContext);
Expand Down
2 changes: 1 addition & 1 deletion src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import React from "react";
import ReactDOM from "react-dom/client";

import App from "./App.tsx";
import ThemeProvider from "@/components/theme-provider";
import ThemeProvider from "@/components/theme/theme-provider.tsx";

ReactDOM.createRoot(document.getElementById("root")!).render(
<React.StrictMode>
Expand Down

0 comments on commit b173d6a

Please sign in to comment.