mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-10 20:02:26 +00:00
Api changes
This commit is contained in:
@@ -32,6 +32,7 @@ export function ResourceProvider({ children, resource: serverResource }: Resourc
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
toast({
|
||||
variant: "destructive",
|
||||
title: "Error updating resource...",
|
||||
})
|
||||
}
|
||||
|
||||
@@ -32,6 +32,7 @@ export function SiteProvider({ children, site: serverSite }: SiteProviderProps)
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
toast({
|
||||
variant: "destructive",
|
||||
title: "Error updating site...",
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user