From b457f5be347f72b02671d017f9da9f0c24926ac2 Mon Sep 17 00:00:00 2001 From: Jan Potoms <2109932+Janpot@users.noreply.github.com> Date: Mon, 20 Jun 2022 10:09:56 +0200 Subject: [PATCH] Delete confirmation dialog Doesn't need to be a form --- packages/toolpad-app/src/components/Home.tsx | 35 +++++++++----------- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/packages/toolpad-app/src/components/Home.tsx b/packages/toolpad-app/src/components/Home.tsx index fa0aaf736c7..6d77131af6a 100644 --- a/packages/toolpad-app/src/components/Home.tsx +++ b/packages/toolpad-app/src/components/Home.tsx @@ -93,25 +93,22 @@ function AppDeleteDialog({ app, onClose }: AppDeleteDialogProps) { return ( - - Confirm delete - - Are you sure you want to delete application "{latestApp?.name}" - - - - - Delete - - - + Confirm delete + + Are you sure you want to delete application "{latestApp?.name}" + + + + + Delete + + ); }