Skip to content

Commit

Permalink
iframe typing (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
FossPrime authored Jun 11, 2023
1 parent 02a2783 commit 30f95f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Dock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ const contentComponents: PanelCollection<IDockviewPanelProps> = {
/>
),
preview: (props: IDockviewPanelProps<{url: string}>) => (
// @ts-ignore
<iframe
src={props.params.url}
allow="cross-origin-isolated"
/* @ts-ignore */
credentialless
/>
),
Expand Down

0 comments on commit 30f95f9

Please sign in to comment.