Skip to content

fix: cleanup remaining NFT stuff, get rid of stable-json-stringify#12387

Open
swkatmask wants to merge 4 commits into
developfrom
fix/fixup-nextid
Open

fix: cleanup remaining NFT stuff, get rid of stable-json-stringify#12387
swkatmask wants to merge 4 commits into
developfrom
fix/fixup-nextid

Conversation

@swkatmask

Copy link
Copy Markdown
Contributor

Replace json-stable-stringify in useLineChart's effect dep array with
the destructured dimension primitives (top/right/bottom/left/width/
height). The default-import interop resolved to a non-callable value in
the bundled price-chart chunk, throwing on render. Dimension is a flat
struct of numbers, so listing the fields directly keeps deps stable
without the dependency.
Replace json-stable-stringify in useTransakURL's useMemo dep array with
native JSON.stringify. The default-import interop resolved to a
non-callable value in the bundled Transak chunk, throwing on render
inside BuyTokenDialog so the fiat on-ramp never opened. config is a
generic Partial<TransakConfig>, so JSON.stringify keeps deps stable
across all fields without the dependency — same fix shape as mf-6780.
@swkatmask swkatmask requested a review from guanbinrui June 18, 2026 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant