mirror of
https://github.com/rowyio/rowy.git
synced 2026-07-13 13:59:05 +02:00
show error snakbar
This commit is contained in:
@@ -149,7 +149,14 @@ const useTable = (initialOverrides: any) => {
|
||||
resp => {
|
||||
console.log(resp);
|
||||
},
|
||||
() => {}
|
||||
() => {
|
||||
snack.open({
|
||||
position: { horizontal: "center", vertical: "top" },
|
||||
severity: "error",
|
||||
message: "You don't have permissions to see the results.",
|
||||
duration: 10000,
|
||||
});
|
||||
}
|
||||
);
|
||||
} else
|
||||
snack.open({
|
||||
|
||||
Reference in New Issue
Block a user