feat(dashboard,admin-vite-plugin,admin-bundler,admin-sdk): Rework admin extensions and introduce custom fields API (#9338)
This commit is contained in:
@@ -20,6 +20,16 @@ export const ErrorBoundary = () => {
|
||||
code = error.status ?? null
|
||||
}
|
||||
|
||||
/**
|
||||
* Log error in development mode.
|
||||
*
|
||||
* react-router-dom will sometimes swallow the error,
|
||||
* so this ensures that we always log it.
|
||||
*/
|
||||
if (process.env.NODE_ENV === "development") {
|
||||
console.error(error)
|
||||
}
|
||||
|
||||
let title: string
|
||||
let message: string
|
||||
|
||||
|
||||
Reference in New Issue
Block a user