Refresh websites after create.

This commit is contained in:
Mike Cao 2024-02-09 13:25:36 -08:00
parent 9e70667de1
commit b6a900c5a4

View File

@ -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?.();
};