mirror of
https://github.com/Steffo99/todocolors.git
synced 2024-11-25 17:54:18 +00:00
Move StarContext
to (layout)/StarredManager
This commit is contained in:
parent
a809c42ad0
commit
8c50a91727
4 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import {useClientTranslation} from "@/app/(i18n)/client"
|
import {useClientTranslation} from "@/app/(i18n)/client"
|
||||||
import {useManagedStarred} from "@/app/[lang]/StarContext"
|
import {useManagedStarred} from "@/app/[lang]/(layout)/StarredManager"
|
||||||
import {faStar} from "@fortawesome/free-solid-svg-icons"
|
import {faStar} from "@fortawesome/free-solid-svg-icons"
|
||||||
import {FontAwesomeIcon} from "@fortawesome/react-fontawesome"
|
import {FontAwesomeIcon} from "@fortawesome/react-fontawesome"
|
||||||
import cn from "classnames"
|
import cn from "classnames"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {useManagedStarred} from "@/app/[lang]/StarContext"
|
import {useManagedStarred} from "@/app/[lang]/(layout)/StarredManager"
|
||||||
import {useRouter} from "next/navigation"
|
import {useRouter} from "next/navigation"
|
||||||
import {ReactNode, useCallback} from "react"
|
import {ReactNode, useCallback} from "react"
|
||||||
import style from "./BoardHeader.module.css"
|
import style from "./BoardHeader.module.css"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
import "./layout.css";
|
import "./layout.css";
|
||||||
import {Body} from "@/app/[lang]/(layout)/Body"
|
import {Body} from "@/app/[lang]/(layout)/Body"
|
||||||
import {StarredManager} from "@/app/[lang]/StarContext"
|
import {StarredManager} from "@/app/[lang]/(layout)/StarredManager"
|
||||||
import type {Metadata as NextMetadata} from "next"
|
import type {Metadata as NextMetadata} from "next"
|
||||||
import {default as React, ReactNode} from "react"
|
import {default as React, ReactNode} from "react"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue