Skip to content

Commit

Permalink
fix: link crashes iframe (#1591)
Browse files Browse the repository at this point in the history
  • Loading branch information
spaenleh authored Dec 10, 2024
1 parent ffc9d4c commit bdfa13c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cypress.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import setupCoverage from '@cypress/code-coverage/task';
import setupCoverage from '@cypress/code-coverage/task.js';
import { defineConfig } from 'cypress';

const ENV = {
Expand Down
2 changes: 1 addition & 1 deletion src/components/item/form/link/LinkForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export const LinkForm = ({
item={{
type: ItemType.LINK,
settings: {},
extra: { [ItemType.LINK]: { url } },
extra: { [ItemType.LINK]: { url: normalizeURL(url) } },
}}
showIframe
showButton={false}
Expand Down

0 comments on commit bdfa13c

Please sign in to comment.