summaryrefslogtreecommitdiff
path: root/src/main.jsx
diff options
context:
space:
mode:
authorRosyid Haryadi <rosyid_haryadi@protonmail.com>2023-10-02 23:05:59 +0700
committerRosyid Haryadi <rosyid_haryadi@protonmail.com>2023-10-02 23:05:59 +0700
commitb2b49909936dc9c5ef77e843d98a87f3e3894861 (patch)
treecd51e1a9d1a04fa0087d18e6bdc2f1de52256baf /src/main.jsx
parentd14296859574e7bf644e7d50acff85a2ec7f687b (diff)
simplifying fetch but cursed useeffect always fired twice in dev environment and doesn't respect state, i hate this.
Diffstat (limited to 'src/main.jsx')
-rw-r--r--src/main.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.jsx b/src/main.jsx
index f923230..6552764 100644
--- a/src/main.jsx
+++ b/src/main.jsx
@@ -7,7 +7,7 @@ import '@fontsource/roboto/500.css';
import '@fontsource/roboto/700.css';
ReactDOM.createRoot(document.getElementById('root')).render(
- // <React.StrictMode>
+ <React.StrictMode>
<App />
- // </React.StrictMode>,
+ </React.StrictMode>,
)