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,6 +1,6 @@
'use client'
import { isDrawer, LayoutDrawer, WARNA } from '@/module/_global';
import { ActionIcon, Anchor, Box, Group, Text, TextInput } from '@mantine/core';
import { WARNA } from '@/module/_global';
import { ActionIcon, Box, Group, Text, TextInput } from '@mantine/core';
import React from 'react';
import { TfiAnnouncement } from "react-icons/tfi";
import { HiMagnifyingGlass } from 'react-icons/hi2';

View File

@@ -1,14 +1,13 @@
"use client"
import { isDrawer, LayoutDrawer, LayoutNavbarNew, WARNA } from '@/module/_global';
import { LayoutDrawer, LayoutNavbarNew, WARNA } from '@/module/_global';
import { ActionIcon } from '@mantine/core';
import React, { useState } from 'react';
import { HiMenu } from "react-icons/hi";
import { useHookstate } from '@hookstate/core';
import DrawerAnnouncement from './drawer_announcement';
export default function NavbarAnnouncement() {
const openDrawer = useHookstate(isDrawer)
const [isOpen, setOpen] = useState(false)
return (
<>
<LayoutNavbarNew back='/home' title='pengumuman'