From 3ebe8b924528859679a4308f6d98966af8b6b1ff Mon Sep 17 00:00:00 2001 From: io53 Date: Wed, 18 Sep 2024 23:14:08 +0300 Subject: [PATCH] fixed error page font color #446 --- src/index.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/index.jsx b/src/index.jsx index 7b2d21c..3c35d68 100644 --- a/src/index.jsx +++ b/src/index.jsx @@ -28,8 +28,12 @@ class ErrorView extends React.Component { render() { if (this.state.hasError) { + let isDarkMode = true + if (localStorage.getItem("chakra-ui-color-mode") === "light") { + isDarkMode = false + } return ( -
+

logo