move ThemeProvider and ThemeToggle components
This commit is contained in:
parent
6da53a302a
commit
7c68bf7ab7
5 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { useState, useCallback } from 'react'
|
||||
import ThemeProvider from '@/components/graph/ThemeProvider'
|
||||
import ThemeProvider from '@/components/ThemeProvider'
|
||||
import MessageAlert from '@/components/MessageAlert'
|
||||
import ApiKeyAlert from '@/components/ApiKeyAlert'
|
||||
import StatusIndicator from '@/components/graph/StatusIndicator'
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import Button from '@/components/ui/Button'
|
||||
import { SiteInfo } from '@/lib/constants'
|
||||
import ThemeToggle from '@/components/graph/ThemeToggle'
|
||||
import ThemeToggle from '@/components/ThemeToggle'
|
||||
import { TabsList, TabsTrigger } from '@/components/ui/Tabs'
|
||||
import { useSettingsStore } from '@/stores/settings'
|
||||
import { cn } from '@/lib/utils'
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { useContext } from 'react'
|
||||
import { ThemeProviderContext } from '@/components/graph/ThemeProvider'
|
||||
import { ThemeProviderContext } from '@/components/ThemeProvider'
|
||||
|
||||
const useTheme = () => {
|
||||
const context = useContext(ThemeProviderContext)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue