styel : update create

This commit is contained in:
lukman
2024-07-09 11:38:11 +08:00
parent 30889651fd
commit c831c1543e
5 changed files with 34 additions and 36 deletions

View File

@@ -1,10 +1,11 @@
import { ViewCreateProject } from '@/module/project';
import React from 'react';
import { ViewCreateProject, ViewDateEndTask } from "@/module/project";
import React from "react";
function Page() {
return (
<ViewCreateProject />
);
function Page({ searchParams }: { searchParams: any }) {
if (searchParams.page == "task")
return <ViewDateEndTask />;
return <ViewCreateProject />;
}
export default Page;

View File

@@ -10,6 +10,7 @@ import { WARNA } from "@/module/_global";
import { Lato } from "next/font/google";
import '@mantine/carousel/styles.css';
import { Toaster } from 'react-hot-toast';
import '@mantine/dates/styles.css';
export const metadata = {
title: "SISTEM DESA MANDIRI",