mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
remove console.log error
This commit is contained in:
parent
ce95ae3bb3
commit
75290c0186
1 changed files with 0 additions and 1 deletions
|
|
@ -12,7 +12,6 @@ export function ErrorBoundary({ children }) {
|
||||||
const { formatMessage, messages } = useMessages();
|
const { formatMessage, messages } = useMessages();
|
||||||
|
|
||||||
const fallbackRender = ({ error, resetErrorBoundary }) => {
|
const fallbackRender = ({ error, resetErrorBoundary }) => {
|
||||||
console.log({ error });
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.error} role="alert">
|
<div className={styles.error} role="alert">
|
||||||
<h1>{formatMessage(messages.error)}</h1>
|
<h1>{formatMessage(messages.error)}</h1>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue