From b6a900c5a4aa579735e5cb7b5e4a98db966f59b8 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Fri, 9 Feb 2024 13:25:36 -0800 Subject: [PATCH] Refresh websites after create. --- src/app/(main)/settings/websites/WebsiteAddButton.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/(main)/settings/websites/WebsiteAddButton.tsx b/src/app/(main)/settings/websites/WebsiteAddButton.tsx index 8f0b2091..2c99f22b 100644 --- a/src/app/(main)/settings/websites/WebsiteAddButton.tsx +++ b/src/app/(main)/settings/websites/WebsiteAddButton.tsx @@ -9,8 +9,7 @@ export function WebsiteAddButton({ teamId, onSave }: { teamId: string; onSave?: const handleSave = async () => { showToast({ message: formatMessage(messages.saved), variant: 'success' }); - teamId ? touch('teams:websites') : touch('websites'); - + touch('websites'); onSave?.(); };