diff options
| author | 2020-12-16 21:48:23 +0200 | |
|---|---|---|
| committer | 2020-12-16 21:48:23 +0200 | |
| commit | fa64b6f632ebe36b05676e135c65d360a4e09f67 (patch) | |
| tree | 901b41d82f5b444cfb44e5e1de8c505658523a16 /src/pages | |
| parent | Merge pull request #44 from python-discord/bugfix/webpack-config (diff) | |
Fetch forms only once in discovery
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/LandingPage.tsx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/pages/LandingPage.tsx b/src/pages/LandingPage.tsx index e50d76f..1320c14 100644 --- a/src/pages/LandingPage.tsx +++ b/src/pages/LandingPage.tsx @@ -17,7 +17,7 @@ function LandingPage() {        setForms(await getForms());      }      fetchForms(); -  }); +  }, []);    if (!forms) {      return <Loading/>; | 
