Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
penginn-net committed Jan 5, 2025
1 parent 86d2461 commit 670b0df
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/frontend/src/widgets/WidgetDataSaver.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,14 @@ import {defaultStore} from "@/store.js";
const name = 'dataSaver';

const widgetPropsDef = {

};

type WidgetProps = GetFormResultType<typeof widgetPropsDef>;

const props = defineProps<WidgetComponentProps<WidgetProps>>();
const emit = defineEmits<WidgetComponentEmits<WidgetProps>>();

const { widgetProps, configure, save } = useWidgetPropsManager(name,
const { configure } = useWidgetPropsManager(name,
widgetPropsDef,
props,
emit,
Expand All @@ -64,7 +63,6 @@ const { widgetProps, configure, save } = useWidgetPropsManager(name,

Check failure on line 63 in packages/frontend/src/widgets/WidgetDataSaver.vue

View workflow job for this annotation

GitHub Actions / lint (frontend)

More than 1 blank line not allowed
const dataSaver = ref(defaultStore.state.dataSaver);


function enableAllDataSaver() {
const g = { ...defaultStore.state.dataSaver };
Object.keys(g).forEach((key) => { g[key] = true; });
Expand Down

0 comments on commit 670b0df

Please sign in to comment.