fix : tombol back

Deskripsi
- update link back pda detail kegiatan
- update link back pada detail divisi

No Issues
This commit is contained in:
amel
2024-10-30 11:57:00 +08:00
parent 381c66e379
commit e0a6310e65
4 changed files with 19 additions and 22 deletions

View File

@@ -1,11 +1,9 @@
'use client'
import { ActionIcon, Box } from '@mantine/core';
import { useRouter } from 'next/navigation';
import React from 'react';
import { HiChevronLeft } from 'react-icons/hi2';
import { WARNA } from '../fun/WARNA';
import _ from 'lodash';
import { useHookstate } from '@hookstate/core';
import { ActionIcon, Box } from '@mantine/core';
import _ from 'lodash';
import { useRouter } from 'next/navigation';
import { HiChevronLeft } from 'react-icons/hi2';
import { TEMA } from '../bin/val_global';
function LayoutIconBack({ back }: { back?: string }) {

View File

@@ -1,11 +1,10 @@
'use client'
import { ActionIcon, Box, Grid, Group, Text, Title } from '@mantine/core';
import React from 'react';
import { WARNA } from '../fun/WARNA';
import LayoutIconBack from './layout_icon_back';
import _ from 'lodash';
import { useHookstate } from '@hookstate/core';
import { Box, Grid, Group, Title } from '@mantine/core';
import _ from 'lodash';
import React from 'react';
import { TEMA } from '../bin/val_global';
import LayoutIconBack from './layout_icon_back';
export const LayoutNavbarNew = ({ back, state, title, menu }: { back?: string, title: string, menu: React.ReactNode, state?: React.ReactNode }) => {
const tema = useHookstate(TEMA)