From 14c8388beb16b54b0a0c3d8645951797d4349f03 Mon Sep 17 00:00:00 2001 From: Kacper Wojciechowski <39823706+jog1t@users.noreply.github.com> Date: Tue, 7 Oct 2025 00:31:24 +0200 Subject: [PATCH] feat: feedback dialog --- frontend/src/routes/_context.tsx | 53 ++++++++++++++++++++++---------- 1 file changed, 36 insertions(+), 17 deletions(-) diff --git a/frontend/src/routes/_context.tsx b/frontend/src/routes/_context.tsx index 81e2ebd4e1..672e2e1807 100644 --- a/frontend/src/routes/_context.tsx +++ b/frontend/src/routes/_context.tsx @@ -109,24 +109,43 @@ function Modals() { const params = useParams({ strict: false }); const CreateActorDialog = useDialog.CreateActor.Dialog; + const FeedbackDialog = useDialog.Feedback.Dialog; return ( - { - if (!value) { - navigate({ - to: ".", - search: (old) => ({ - ...old, - modal: undefined, - }), - }); - } - }, - }} - /> + <> + { + if (!value) { + navigate({ + to: ".", + search: (old) => ({ + ...old, + modal: undefined, + }), + }); + } + }, + }} + /> + { + if (!value) { + navigate({ + to: ".", + search: (old) => ({ + ...old, + modal: undefined, + }), + }); + } + }, + }} + /> + ); }