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
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:
parent
10f4f6adac
commit
62e2a7ba85
1 changed files with 1 additions and 2 deletions
|
|
@ -424,8 +424,7 @@ export default function TradeInV2Page() {
|
||||||
string | null | undefined
|
string | null | undefined
|
||||||
>(undefined);
|
>(undefined);
|
||||||
|
|
||||||
const urlId =
|
const urlId = pendingRestoreId !== undefined ? pendingRestoreId : readUrlId();
|
||||||
pendingRestoreId !== undefined ? pendingRestoreId : readUrlId();
|
|
||||||
|
|
||||||
// Post-mount flag: readUrlId() is null on SSR but a UUID on the client's first
|
// 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
|
// render, so any structure that depends on the id (e.g. the PDF <a> vs disabled
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue