refactor: move apply-dark-mode hook into other directory

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2023-04-26 20:40:16 +02:00
parent ed3c688e8b
commit cba8d917ed
6 changed files with 7 additions and 7 deletions

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: AGPL-3.0-only
*/
import { CheatsheetContent } from '../components/editor-page/app-bar/cheatsheet/cheatsheet-content'
import { useApplyDarkMode } from '../hooks/common/use-apply-dark-mode'
import { useApplyDarkMode } from '../hooks/dark-mode/use-apply-dark-mode'
import type { NextPage } from 'next'
import { Container } from 'react-bootstrap'

View file

@ -5,7 +5,7 @@
*/
import { RendererToEditorCommunicatorContextProvider } from '../components/editor-page/render-context/renderer-to-editor-communicator-context-provider'
import { RenderPageContent } from '../components/render-page/render-page-content'
import { useApplyDarkMode } from '../hooks/common/use-apply-dark-mode'
import { useApplyDarkMode } from '../hooks/dark-mode/use-apply-dark-mode'
import type { NextPage } from 'next'
import React from 'react'

View file

@ -9,7 +9,7 @@ import { DocumentReadOnlyPageContent } from '../../components/document-read-only
import { AppBar, AppBarMode } from '../../components/editor-page/app-bar/app-bar'
import { HeadMetaProperties } from '../../components/editor-page/head-meta-properties/head-meta-properties'
import { EditorToRendererCommunicatorContextProvider } from '../../components/editor-page/render-context/editor-to-renderer-communicator-context-provider'
import { useApplyDarkMode } from '../../hooks/common/use-apply-dark-mode'
import { useApplyDarkMode } from '../../hooks/dark-mode/use-apply-dark-mode'
import React from 'react'
/**