Skip to content

Commit

Permalink
Allow class to be passed into svelte component
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp committed Oct 10, 2022
1 parent 73c96f4 commit 9e62257
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/integrations/svelte/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ const noop = () => {};
export default (target) => {
return (Component, props, slotted, { client }) => {
if (!target.hasAttribute('ssr')) return;
delete props['class'];
const slots = {};
for (const [key, value] of Object.entries(slotted)) {
slots[key] = createSlotDefinition(key, value);
Expand Down

0 comments on commit 9e62257

Please sign in to comment.