Closed PaulieScanlon closed 3 years ago
I've created an issue for this PR which can be seen here issues/5
@PaulieScanlon thanks for your PR! I think this change makes sense. However, I see a lot of unrelated code changes in the PR. Could you update it so that it includes only the relevant small section?
@vasturiano Hey, ty for taking a lot.
Blast!
I think those other changes are my prettier formatter messing with us. Lemme see if i can disable that.
Were you ok with the inclusion of the standard GitHub node .gitignore
?
@vasturiano Hey, ok i think i've got it this time. Not 100% sure what your tabs or spaces settings were by i disabled my prettier extension. There's still a lot of lines changed but most are because everything's now indented by one because it's nested in the if
Lemme know what you think!
Ty!
@PaulieScanlon I still see many changes in the code. Would you mind making it so only the typeof window !== 'undefined'
is added and nothing else?
Also, to keep it on topic, please don't include any other unrelated changes like the .gitignore
file.
@vasturiano hey! sure thing, Just pushed again. This has a minimal amount, which should make it easier to see what i've added.
Thanks for your time!
Thx @PaulieScanlon!
Hey, i've added
typeof window !== 'undefined'
toindex.js
, i think this will resolve any SSR framework errors but would you mind investigating?Thanks in advance
Paul