Skip to content

Commit

Permalink
chore: update svelte portal action
Browse files Browse the repository at this point in the history
  • Loading branch information
segunadebayo committed Dec 2, 2024
1 parent 224b31a commit ba424f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frameworks/svelte/src/portal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export interface PortalActionProps {
}

export function portal(node: HTMLElement, props: PortalActionProps = {}) {
function update(props: PortalActionProps) {
function update(props: PortalActionProps = {}) {
const { container, disabled, getRootNode } = props
if (disabled) return
const doc = getRootNode?.().ownerDocument ?? document
Expand Down

0 comments on commit ba424f9

Please sign in to comment.