260507_01_ENH: SafetyInspectionTotal, SafetyInspectionDivDetail 페이지 구현
This commit is contained in:
@@ -1,12 +1,14 @@
|
||||
'use client'
|
||||
|
||||
import {useLayoutFilter} from "@/components/layout/LayoutCategoryContext";
|
||||
import SafetyInspectionTotal from "./sub/SafetyInspectionTotal";
|
||||
import SafetyInspectionDivDetail from "./sub/SafetyInspectionDivDetail";
|
||||
|
||||
const SafetyInspectionPage = () => {
|
||||
const { selectedDiv } = useLayoutFilter();
|
||||
|
||||
return (
|
||||
<div>SafetyInspectionPage {selectedDiv}</div>
|
||||
selectedDiv === "-1" ? <SafetyInspectionTotal /> : <SafetyInspectionDivDetail selectedDiv={selectedDiv} />
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user