- assigned_to: BilgeGates
Originally created by: BilgeGates
Originally owned by: BilgeGates
Changing the piece set or board colours on the Export page unintentionally updates the home page board. The two pages share the same localStorage keys, so any change on the Export page persists globally.
Changes on the Export page are local to that session only. The home page board is unchanged on return.
The home page reflects the Export page choices — piece set and colours are overwritten globally.
BoardStyleStep calls setBoardPieceSet() from useBoardPieceSet, which writes to the shared chess-piece-style localStorage key. The home page reads the same key, so it picks up the change immediately. Square colour changes have the same issue via shared localStorage keys.
Any browser / OS.