fix(loyalty): убрать unused imports (TS6133)
Some checks are pending
CI / Backend (.NET 8) (push) Waiting to run
CI / Web (React + Vite) (push) Waiting to run
CI / POS (WPF, Windows) (push) Waiting to run
Docker Web / Build + push Web (push) Waiting to run
Docker Web / Deploy Web on stage (push) Blocked by required conditions

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
nns 2026-05-31 21:10:44 +05:00
parent 91128a7ed0
commit dc68c997c9
2 changed files with 1 additions and 3 deletions

View file

@ -9,7 +9,7 @@ import { Button } from '@/components/Button'
import { Modal } from '@/components/Modal'
import { Field, TextInput, AsyncSelect, Select } from '@/components/Field'
import { EmptyState } from '@/components/EmptyState'
import { useCatalogList, useCatalogMutations } from '@/lib/useCatalog'
import { useCatalogList } from '@/lib/useCatalog'
const URL = '/api/loyalty/cards'
@ -33,7 +33,6 @@ const blank = (): Form => ({ programId: '', counterpartyId: '', cardNumber: '' }
export function LoyaltyCardsPage() {
const list = useCatalogList<CardDto>(URL)
const { remove } = useCatalogMutations(URL, URL)
const [form, setForm] = useState<Form | null>(null)
const [programs, setPrograms] = useState<ProgramOption[]>([])
const [error, setError] = useState<string | null>(null)

View file

@ -1,6 +1,5 @@
import { useState } from 'react'
import { Plus, Trash2 } from 'lucide-react'
import { api } from '@/lib/api'
import { ListPageShell } from '@/components/ListPageShell'
import { DataTable } from '@/components/DataTable'
import { Pagination } from '@/components/Pagination'