show error snakbar

This commit is contained in:
Shams mosowi
2020-07-17 08:50:58 +10:00
parent 46b66951fe
commit dba7315c6c

View File

@@ -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({