upd: hapus variable global
NO Issues
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user