The integrations page does not load if VITE_NANGO_PK is undefined, and returns a JS error: "You should specify a Public Key when using Nango Cloud (cf. documentation)."
In the original version, (undefined || "change_me") always evaluates to "change_me", so the conditional doesn't work as intended.
The integrations page does not load if
VITE_NANGO_PK
is undefined, and returns a JS error: "You should specify a Public Key when using Nango Cloud (cf. documentation)."In the original version,
(undefined || "change_me")
always evaluates to"change_me"
, so the conditional doesn't work as intended.