diff --git a/todoblue/src/app/[lang]/StarContext.tsx b/todoblue/src/app/[lang]/(layout)/StarredManager.tsx similarity index 100% rename from todoblue/src/app/[lang]/StarContext.tsx rename to todoblue/src/app/[lang]/(layout)/StarredManager.tsx diff --git a/todoblue/src/app/[lang]/(page)/StarredBoardsPanel.tsx b/todoblue/src/app/[lang]/(page)/StarredBoardsPanel.tsx index ba127ac..a65df6b 100644 --- a/todoblue/src/app/[lang]/(page)/StarredBoardsPanel.tsx +++ b/todoblue/src/app/[lang]/(page)/StarredBoardsPanel.tsx @@ -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" diff --git a/todoblue/src/app/[lang]/board/[board]/BoardHeader.tsx b/todoblue/src/app/[lang]/board/[board]/BoardHeader.tsx index e7e3f9e..9c9407d 100644 --- a/todoblue/src/app/[lang]/board/[board]/BoardHeader.tsx +++ b/todoblue/src/app/[lang]/board/[board]/BoardHeader.tsx @@ -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" diff --git a/todoblue/src/app/[lang]/layout.tsx b/todoblue/src/app/[lang]/layout.tsx index 6d2ef67..23411e4 100644 --- a/todoblue/src/app/[lang]/layout.tsx +++ b/todoblue/src/app/[lang]/layout.tsx @@ -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"