Duplicated getServerSideProps
function and clunky imports / config option retrieval in client
#417
Labels
getServerSideProps
function and clunky imports / config option retrieval in client
#417
In
app/client/pages/{job,dash,results}.js
, there is duplicated code, namely thegetServerSideProps
function. Furthermore, in #415, I struggled to find a consistent way to retrieve therequire_auth
option fromnext.config.js
and toimport
/require
firebaseClient
andfirebaseAdmin
only when they are needed.All of these work, but should be refactored.
The text was updated successfully, but these errors were encountered: