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
katanallama commented
Bug where sometimes the piece left and top css props aren't getting loaded correctly on the server causing a warning from the console
Daniil-Aleshechkin commented
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.
katanallama commented
@Daniil-Aleshechkin can we close this issue then?