We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18d6334 commit fc203a3Copy full SHA for fc203a3
packages/app/src/components/Dashboards/DashboardsListPage.tsx
@@ -6,7 +6,6 @@ import { useQueryState } from 'nuqs';
6
import {
7
ActionIcon,
8
Button,
9
- Card,
10
Container,
11
Flex,
12
Group,
@@ -108,6 +107,12 @@ export default function DashboardsListPage() {
108
107
onSuccess: data => {
109
Router.push(`/dashboards/${data.id}`);
110
},
+ onError: () => {
111
+ notifications.show({
112
+ message: 'Failed to create dashboard',
113
+ color: 'red',
114
+ });
115
+ },
116
117
);
118
}, [createDashboard]);
0 commit comments