From 3fc76193675887dac2c5eabbdfc4eb930a8b954f Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Wed, 31 Mar 2021 21:34:55 -0700 Subject: [PATCH] Clear actions modal on save --- web/pages/actions.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web/pages/actions.tsx b/web/pages/actions.tsx index f6eb87d4a..92cbaf8c7 100644 --- a/web/pages/actions.tsx +++ b/web/pages/actions.tsx @@ -41,6 +41,12 @@ function NewActionModal(props: Props) { function save() { onOk(actionUrl, actionTitle, actionDescription, actionIcon, actionColor, openExternally); + setActionUrl('') + setActionTitle('') + setActionDescription('') + setActionIcon('') + setActionColor('') + setOpenExternally(false) } function canSave(): Boolean {