From c773605361359d9aa6d76b2e448a4c051fe28713 Mon Sep 17 00:00:00 2001 From: jiho Date: Fri, 20 Dec 2024 18:56:38 +0900 Subject: [PATCH] chore(fe): import types --- apps/frontend/components/BaseModal.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/frontend/components/BaseModal.tsx b/apps/frontend/components/BaseModal.tsx index c2603ee9d..b72f6ca0d 100644 --- a/apps/frontend/components/BaseModal.tsx +++ b/apps/frontend/components/BaseModal.tsx @@ -1,5 +1,5 @@ import { Loader2 } from 'lucide-react' -import React from 'react' +import React, { Fragment, type ReactNode } from 'react' import { AlertDialog, AlertDialogContent, @@ -12,7 +12,7 @@ import { interface BaseModalProps { open: boolean handleClose: () => void - children?: React.ReactNode + children?: ReactNode loading?: boolean loadingMessage?: string title?: string @@ -39,10 +39,10 @@ export default function BaseModal({ }: BaseModalProps) { const formattedDescription = description.split('\n').map((line, index) => ( - + {line}
-
+ )) ?? '' return (