upd: hapus variable global

NO Issues
This commit is contained in:
amel
2024-07-09 10:57:26 +08:00
parent 0c62724feb
commit de1debf3db
16 changed files with 24 additions and 54 deletions

View File

@@ -1,10 +1,7 @@
import { isDrawer, LayoutDrawer, WARNA } from "@/module/_global"
import { LayoutDrawer, WARNA } from "@/module/_global"
import LayoutModal from "@/module/_global/layout/layout_modal"
import { useHookstate } from "@hookstate/core"
import { Box, Stack, SimpleGrid, Flex, Text, Select, TextInput, Button } from "@mantine/core"
import router from "next/router"
import { useState } from "react"
import toast from "react-hot-toast"
import { FaPencil } from "react-icons/fa6"
import { ImUserCheck } from "react-icons/im"

View File

@@ -1,4 +1,4 @@
import { isDrawer, WARNA, LayoutDrawer } from "@/module/_global";
import { WARNA, LayoutDrawer } from "@/module/_global";
import { Box, Stack, SimpleGrid, Flex, TextInput, Button, Text, Select } from "@mantine/core";
import { useState } from "react";
import { IoAddCircle } from "react-icons/io5";

View File

@@ -1,4 +1,4 @@
import { isDrawer, LayoutDrawer, WARNA } from '@/module/_global';
import { LayoutDrawer, WARNA } from '@/module/_global';
import { ActionIcon, Box, Group, Text, TextInput } from '@mantine/core';
import React, { useState } from 'react';
import { FaUserTie } from 'react-icons/fa6';
@@ -44,6 +44,7 @@ const dataGroup = [
export default function ListPositionActive() {
const [openDrawer, setOpenDrawer] = useState(false)
const [isData, setData] = useState("")
return (
<Box pt={20}>
<TextInput

View File

@@ -1,4 +1,4 @@
import { isDrawer, LayoutDrawer, WARNA } from '@/module/_global';
import { LayoutDrawer, WARNA } from '@/module/_global';
import { ActionIcon, Box, Group, Text, TextInput } from '@mantine/core';
import React, { useState } from 'react';
import { FaUserTie } from 'react-icons/fa6';
@@ -44,6 +44,7 @@ const dataGroup = [
export default function ListPositionNonActive() {
const [openDrawer, setOpenDrawer] = useState(false)
const [isData, setData] = useState("")
return (
<Box pt={20}>
<TextInput