Skip to content

Commit f35564c

Browse files
committed
chore: add success notification
1 parent 4d2bfa4 commit f35564c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

apps/web/src/routes/_app/datahub/index.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,13 @@ const RouteComponent = () => {
102102
case 'JSON':
103103
return download(`${baseFilename}.json`, JSON.stringify(data, null, 2));
104104
}
105+
addNotification({
106+
message: t({
107+
en: 'Export successful',
108+
fr: 'Exportation réussie'
109+
}),
110+
type: 'success'
111+
});
105112
})
106113
.catch(console.error);
107114
};

0 commit comments

Comments
 (0)