Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamlangford committed May 3, 2024
1 parent a9c4527 commit 4aefad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bricks/transformers/ephemeralForm/EphemeralForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const IsolatedEphemeralFormContent: React.FunctionComponent<
const EphemeralForm: React.FC = () => {
const params = new URLSearchParams(location.search);
const nonce = validateUUID(params.get("nonce"));
const opener = JSON.parse(params.get("opener") ?? "") as Target;
const opener = JSON.parse(params.get("opener") ?? "{}") as Target;
const mode = params.get("mode") ?? "modal";

const isModal = mode === "modal";
Expand Down

0 comments on commit 4aefad2

Please sign in to comment.