style(tradein/v2): prettier (репозиторный pre-commit не покрывает tradein-mvp/frontend)
All checks were successful
CI Trade-In / changes (pull_request) Successful in 10s
CI / changes (pull_request) Successful in 10s
CI Trade-In / backend-tests (pull_request) Has been skipped
CI / backend-tests (pull_request) Has been skipped
CI / frontend-tests (pull_request) Has been skipped
CI / openapi-codegen-check (pull_request) Has been skipped
CI Trade-In / frontend-checks (pull_request) Successful in 1m13s

This commit is contained in:
bot-backend 2026-07-04 17:44:48 +03:00
parent 10f4f6adac
commit 62e2a7ba85

View file

@ -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