feat(dashboard,admin-vite-plugin,admin-bundler,admin-sdk): Rework admin extensions and introduce custom fields API (#9338)

This commit is contained in:
Kasper Fabricius Kristensen
2024-10-09 11:44:40 +00:00
committed by GitHub
parent 35e69d32f2
commit d71343d6ab
159 changed files with 5264 additions and 2224 deletions
@@ -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