1 parent
27de078f54
commit
e85e4d74ea
378 files changed
+20710
-22428
No files matched your search
@@ -4,7 +4,10 @@ export interface AdminMutationNotice {
|
||||
message: string;
|
||||
}
|
||||
|
||||
export function adminMutationNotice(params: { saved?: string; error?: string }): AdminMutationNotice | null {
|
||||
export function adminMutationNotice(params: {
|
||||
saved?: string;
|
||||
error?: string;
|
||||
}): AdminMutationNotice | null {
|
||||
if (params.error) {
|
||||
return {
|
||||
tone: "danger",
|
||||
|
||||
Reference in new issue
Block a user