diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-03-16 11:21:46 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-03-16 11:21:46 +0100 |
commit | 9abc6a25c89251659c5ffe2f59f6379cbf9f8e04 (patch) | |
tree | cbea5cb90c3b0cd4c88428a4f1a3dc063f367ae3 /components/navbar.tsx | |
parent | b2e0569eb74cddc92c1e8576755137aa64f95d86 (diff) |
prevent repeat api requests
Diffstat (limited to 'components/navbar.tsx')
-rw-r--r-- | components/navbar.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/navbar.tsx b/components/navbar.tsx index 2c38c3c..252635d 100644 --- a/components/navbar.tsx +++ b/components/navbar.tsx @@ -46,7 +46,7 @@ export function NavBar() { } setGotData(true); - })()}); + })()}, []); return <div className="navbar" style={{ width: 48, |