Skip to content

Commit

Permalink
refactor(Context): useless deletions
Browse files Browse the repository at this point in the history
  • Loading branch information
ido-pluto committed Apr 2, 2024
1 parent 1dfdb4d commit c6c86c5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/context/Context.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ export interface Props {
}
const {contextName, lock, ...props} = Astro.props;
delete Astro.props.lock;
delete Astro.props.contextName;
const htmlSolt = await asyncContext(() => Astro.slots.render('default'), Astro, {name: contextName, lock, context: props});
---
<Fragment set:html={htmlSolt} />

0 comments on commit c6c86c5

Please sign in to comment.