Skip to content

Commit 3031fc4

Browse files
committed
fix: fixed the unnecessary onclick expose.
1 parent 95cfbd5 commit 3031fc4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

platforms/metagram/src/lib/fragments/SettingsTile/SettingsTile.svelte

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,14 @@
77
interface ISettingsTile extends HTMLButtonAttributes {
88
title: string;
99
currentStatus: 'string';
10-
onclick: () => void;
1110
}
1211
13-
const { title, currentStatus, onclick, ...restProps }: ISettingsTile = $props();
12+
const { title, currentStatus, ...restProps }: ISettingsTile = $props();
1413
</script>
1514

1615
<button
1716
{...restProps}
1817
class={cn(['flex w-full cursor-pointer items-center justify-between', restProps.class].join())}
19-
{onclick}
2018
>
2119
<div class="flex flex-col items-start gap-1">
2220
<span class="font-semibold">{title}</span>

0 commit comments

Comments
 (0)