The auto-select effect ran while the playlist query was still loading (empty list), nulling the localStorage-restored selection so F5 fell back to the first playlist. Wait for the first load (listQuery.data) before adjusting the selection.
The auto-select effect ran while the playlist query was still loading (empty list), nulling the localStorage-restored selection so F5 fell back to the first playlist. Wait for the first load (listQuery.data) before adjusting the selection.