teamcrusher/threewide

Bug where sometimes the piece left and top css props aren't getting loaded correctly on the server causing a warning from the console

Opened this issue · 2 comments

Bug where sometimes the piece left and top css props aren't getting loaded correctly on the server causing a warning from the console

Turns out this was a trivial issue. It's just cause the piece queue generation code wasn't in a useEffect so the server and client would generate different initial queues. Putting it in a useEffect made it so it would only generate in the client.

@Daniil-Aleshechkin can we close this issue then?