fix(tradein/v2): гонка при клике по строке «Предыдущие оценки» — отчёт не загружался #2428
1 changed files with 1 additions and 2 deletions
|
|
@ -424,8 +424,7 @@ export default function TradeInV2Page() {
|
|||
string | null | undefined
|
||||
>(undefined);
|
||||
|
||||
const urlId =
|
||||
pendingRestoreId !== undefined ? pendingRestoreId : readUrlId();
|
||||
const urlId = pendingRestoreId !== undefined ? pendingRestoreId : readUrlId();
|
||||
|
||||
// Post-mount flag: readUrlId() is null on SSR but a UUID on the client's first
|
||||
// render, so any structure that depends on the id (e.g. the PDF <a> vs disabled
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue