chore: 忽略前端 shadcn-svelte 组件的 warning
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
config: ChartConfig;
|
config: ChartConfig;
|
||||||
} = $props();
|
} = $props();
|
||||||
|
|
||||||
|
// svelte-ignore state_referenced_locally
|
||||||
const chartId = `chart-${id || uid.replace(/:/g, '')}`;
|
const chartId = `chart-${id || uid.replace(/:/g, '')}`;
|
||||||
|
|
||||||
setChartContext({
|
setChartContext({
|
||||||
|
|||||||
Reference in New Issue
Block a user