feat: add project settings page
This commit is contained in:
@@ -43,7 +43,7 @@ type Props = {
|
||||
messages: HomeMessages;
|
||||
};
|
||||
|
||||
export function Home({ projectId, messages }: Props) {
|
||||
export function ProjectHome({ projectId, messages }: Props) {
|
||||
const context = useContext(TokenContext);
|
||||
const { theme, setTheme } = useTheme();
|
||||
const [project, setProject] = useState({
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Home } from './home';
|
||||
import { ProjectHome } from './ProjectHome';
|
||||
import { useTranslations } from 'next-intl';
|
||||
|
||||
export type HomeMessages = {
|
||||
@@ -69,7 +69,7 @@ export default function Page({ params }: { params: { projectId: string } }) {
|
||||
};
|
||||
return (
|
||||
<>
|
||||
<Home projectId={params.projectId} messages={messages} />
|
||||
<ProjectHome projectId={params.projectId} messages={messages} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user