refactor(FE-316): Rename ExpandedDrawerForm to UniformityPreviewForm

This commit is contained in:
rstubryan
2025-12-27 09:12:31 +07:00
parent 751c27b73e
commit 4f22024c82
2 changed files with 4 additions and 4 deletions
@@ -34,7 +34,7 @@ import {
import { type BaseApiResponse } from '@/types/api/api-general';
import { ProjectFlockKandangLookup } from '@/types/api/production/project-flock';
import { Kandang } from '@/types/api/master-data/kandang';
import ExpandedDrawerForm from '@/components/pages/uniformity/form/ExpandedDrawerForm';
import UniformityPreviewForm from '@/components/pages/uniformity/form/UniformityPreviewForm';
import useSWR from 'swr';
import { cn } from '@/lib/helper';
@@ -360,7 +360,7 @@ const UniformityForm = ({
useEffect(() => {
if (expandedDrawerOpen) {
setExpandedDrawerContent(<ExpandedDrawerForm />);
setExpandedDrawerContent(<UniformityPreviewForm />);
} else {
setExpandedDrawerContent(null);
}
@@ -6,7 +6,7 @@ import Tooltip from '@/components/Tooltip';
import DrawerHeader from '@/components/helper/drawer/DrawerHeader';
import { useUiStore } from '@/stores/ui/ui.store';
const ExpandedDrawerForm = () => {
const UniformityPreviewForm = () => {
const setExpandedDrawerOpen = useUiStore((s) => s.setExpandedDrawerOpen);
const setIsNextStep = useUiStore((s) => s.setIsNextStep);
@@ -41,4 +41,4 @@ const ExpandedDrawerForm = () => {
);
};
export default ExpandedDrawerForm;
export default UniformityPreviewForm;