Skip to content

Commit

Permalink
chore(fe): import types
Browse files Browse the repository at this point in the history
  • Loading branch information
jihorobert committed Dec 20, 2024
1 parent 216eb81 commit c773605
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/frontend/components/BaseModal.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Loader2 } from 'lucide-react'
import React from 'react'
import React, { Fragment, type ReactNode } from 'react'
import {
AlertDialog,
AlertDialogContent,
Expand All @@ -12,7 +12,7 @@ import {
interface BaseModalProps {
open: boolean
handleClose: () => void
children?: React.ReactNode
children?: ReactNode
loading?: boolean
loadingMessage?: string
title?: string
Expand All @@ -39,10 +39,10 @@ export default function BaseModal({
}: BaseModalProps) {
const formattedDescription =
description.split('\n').map((line, index) => (
<React.Fragment key={index}>
<Fragment key={index}>
{line}
<br />
</React.Fragment>
</Fragment>
)) ?? ''

return (
Expand Down

0 comments on commit c773605

Please sign in to comment.