fix: removed back button on projects editor
This commit is contained in:
@ -1,17 +1,7 @@
|
|||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import React, { FC } from "react";
|
import React, { FC } from "react";
|
||||||
import { IconChevronLeft } from "@tabler/icons-react";
|
import { Center, Divider, Drawer, rem, Stack, Text } from "@mantine/core";
|
||||||
import {
|
|
||||||
Box,
|
|
||||||
Center,
|
|
||||||
Divider,
|
|
||||||
Drawer,
|
|
||||||
Group,
|
|
||||||
rem,
|
|
||||||
Stack,
|
|
||||||
Text,
|
|
||||||
} from "@mantine/core";
|
|
||||||
import { useProjectsContext } from "@/app/deals/contexts/ProjectsContext";
|
import { useProjectsContext } from "@/app/deals/contexts/ProjectsContext";
|
||||||
import CreateProjectButton from "@/app/deals/drawers/ProjectsEditorDrawer/components/CreateProjectButton";
|
import CreateProjectButton from "@/app/deals/drawers/ProjectsEditorDrawer/components/CreateProjectButton";
|
||||||
import ProjectMobile from "@/app/deals/drawers/ProjectsEditorDrawer/components/ProjectMobile";
|
import ProjectMobile from "@/app/deals/drawers/ProjectsEditorDrawer/components/ProjectMobile";
|
||||||
@ -38,17 +28,9 @@ const ProjectsEditorDrawer: FC = () => {
|
|||||||
gap: rem(10),
|
gap: rem(10),
|
||||||
},
|
},
|
||||||
}}>
|
}}>
|
||||||
<Group justify={"space-between"}>
|
|
||||||
<Box
|
|
||||||
onClick={onClose}
|
|
||||||
p={"xs"}>
|
|
||||||
<IconChevronLeft />
|
|
||||||
</Box>
|
|
||||||
<Center>
|
<Center>
|
||||||
<Text>Проекты</Text>
|
<Text>Проекты</Text>
|
||||||
</Center>
|
</Center>
|
||||||
<Box p={"lg"} />
|
|
||||||
</Group>
|
|
||||||
<Divider />
|
<Divider />
|
||||||
<Stack gap={0}>
|
<Stack gap={0}>
|
||||||
{projects.map((project, index) => (
|
{projects.map((project, index) => (
|
||||||
|
|||||||
Reference in New Issue
Block a user