chore: remove optional props

This commit is contained in:
Daniel Gonzalez Albo
2025-10-09 17:43:42 +02:00
committed by Nicolás Hatcher Andrés
parent b709041f9d
commit 49c3d1e03a
2 changed files with 6 additions and 6 deletions

View File

@@ -7,8 +7,8 @@ import TemplatesListItem from "./TemplatesListItem";
function WelcomeDialog(properties: {
onClose: () => void;
onSelectTemplate: (templateId: string) => void;
showHeader?: boolean;
showNewSection?: boolean;
showHeader: boolean;
showNewSection: boolean;
}) {
const [selectedTemplate, setSelectedTemplate] = useState<string>(
properties.showNewSection ? "blank" : "mortgage_calculator",