1
Fork 0
mirror of https://github.com/Steffo99/todocolors.git synced 2024-11-22 08:14:18 +00:00

Move StarContext to (layout)/StarredManager

This commit is contained in:
Steffo 2023-08-08 17:56:00 +02:00
parent a809c42ad0
commit 8c50a91727
Signed by: steffo
GPG key ID: 2A24051445686895
4 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
"use 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 {FontAwesomeIcon} from "@fortawesome/react-fontawesome"
import cn from "classnames"

View file

@ -1,4 +1,4 @@
import {useManagedStarred} from "@/app/[lang]/StarContext"
import {useManagedStarred} from "@/app/[lang]/(layout)/StarredManager"
import {useRouter} from "next/navigation"
import {ReactNode, useCallback} from "react"
import style from "./BoardHeader.module.css"

View file

@ -2,7 +2,7 @@
import "./layout.css";
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 {default as React, ReactNode} from "react"