style: auto-fix lint and format
This commit is contained in:
1 parent
7c0653672a
commit
28f31243fb
2 files changed
+3
-8
No files matched your search
@@ -8,7 +8,8 @@ import type { IntegrationKind, WidgetKind } from "@homarr/definitions";
|
|||||||
import { createModal, modalSizeSelect, useModalAction } from "@homarr/modals";
|
import { createModal, modalSizeSelect, useModalAction } from "@homarr/modals";
|
||||||
import { useSettings } from "@homarr/settings";
|
import { useSettings } from "@homarr/settings";
|
||||||
import { useI18n } from "@homarr/translation/client";
|
import { useI18n } from "@homarr/translation/client";
|
||||||
import { SelectGridLayout, selectGridCardHeight, type TablerIcon } from "@homarr/ui";
|
import { SelectGridLayout, selectGridCardHeight } from "@homarr/ui";
|
||||||
|
import type { TablerIcon } from "@homarr/ui";
|
||||||
import { reduceWidgetOptionsWithDefaultValues, widgetImports } from "@homarr/widgets";
|
import { reduceWidgetOptionsWithDefaultValues, widgetImports } from "@homarr/widgets";
|
||||||
import { WidgetEditModal } from "@homarr/widgets/modals";
|
import { WidgetEditModal } from "@homarr/widgets/modals";
|
||||||
|
|
||||||
|
|||||||
@@ -33,13 +33,7 @@ const ActionButtons = ({
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export const ModalFormFooter = ({
|
export const ModalFormFooter = ({ onCancel, submitLabel, cancelLabel, loading, leftSection }: ModalFormFooterProps) => {
|
||||||
onCancel,
|
|
||||||
submitLabel,
|
|
||||||
cancelLabel,
|
|
||||||
loading,
|
|
||||||
leftSection,
|
|
||||||
}: ModalFormFooterProps) => {
|
|
||||||
const actionButtons = (
|
const actionButtons = (
|
||||||
<ActionButtons onCancel={onCancel} submitLabel={submitLabel} cancelLabel={cancelLabel} loading={loading} />
|
<ActionButtons onCancel={onCancel} submitLabel={submitLabel} cancelLabel={cancelLabel} loading={loading} />
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user