diff --git a/tank-frontend/src/components/Dialog.tsx b/tank-frontend/src/components/Dialog.tsx
index 8db7d7e..86130ad 100644
--- a/tank-frontend/src/components/Dialog.tsx
+++ b/tank-frontend/src/components/Dialog.tsx
@@ -10,11 +10,13 @@ export default function Dialog({children, className, title, onClose}: {
className?: string;
onClose?: () => void;
}) {
- return
+ return
- {title}
- {onClose && }
+ {title}
+ {onClose &&
- {children}
-
+
+ {children}
+
+ ;
}
diff --git a/tank-frontend/src/components/Input.tsx b/tank-frontend/src/components/Input.tsx
index f2d7df6..002da6b 100644
--- a/tank-frontend/src/components/Input.tsx
+++ b/tank-frontend/src/components/Input.tsx
@@ -5,7 +5,7 @@ export function TextInput( {onChange, className, value, placeholder, onEnter }:
onChange?: ChangeEventHandler | undefined;
className?: string;
value: string;
- placeholder: string;
+ placeholder?: string;
onEnter?: () => void;
}) {
return | undefined;
className?: string;
value: number;
- placeholder: string;
+ placeholder?: string;
onEnter?: () => void;
}) {
return