Lint all the things

This commit is contained in:
Dave
2025-08-19 16:23:29 -04:00
parent f6d6b548be
commit 33fb60ca1a
640 changed files with 2129 additions and 3927 deletions

View File

@@ -1,6 +1,5 @@
import { useQuery } from "@apollo/client";
import { Button, Drawer, List } from "antd";
import React from "react";
import { QUERY_CUSTOM_TEMPLATES } from "../../graphql/templates.queries";
import AlertComponent from "../alert/alert.component";
import Skeleton from "../loading-skeleton/loading-skeleton.component";
@@ -46,12 +45,14 @@ export default function ShopTemplatesListContainer({ openState }) {
renderItem={(item) => (
<List.Item
actions={[
<Button onClick={() => handleEdit(item)}>{t("general.actions.edit")}</Button>,
<ShopTemplateDeleteComponent templateId={item.id} refetch={refetch} />
<Button key="editButton" onClick={() => handleEdit(item)}>
{t("general.actions.edit")}
</Button>,
<ShopTemplateDeleteComponent key="shopTemplateDelete" templateId={item.id} refetch={refetch} />
]}
>
<Skeleton title={false} loading={item.loading} active>
<div rootStyle={{ display: "flex", flexDirection: "column" }}>
<div style={{ display: "flex", flexDirection: "column" }}>
<div>{TemplateList()[item.name].title}</div>
<div>{TemplateList()[item.name].description}</div>
<div>{TemplateList()[item.name].drivingid}</div>