diff options
author | Rosyid Haryadi <rosyid_haryadi@protonmail.com> | 2023-10-02 23:05:59 +0700 |
---|---|---|
committer | Rosyid Haryadi <rosyid_haryadi@protonmail.com> | 2023-10-02 23:05:59 +0700 |
commit | b2b49909936dc9c5ef77e843d98a87f3e3894861 (patch) | |
tree | cd51e1a9d1a04fa0087d18e6bdc2f1de52256baf /src/main.jsx | |
parent | d14296859574e7bf644e7d50acff85a2ec7f687b (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.jsx | 4 |
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>, ) |