fix: remove unused imports to pass lint
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -4,7 +4,6 @@ import { posMutations, posKeys, type Transaction } from '@/api/pos'
|
||||
import { Button } from '@/components/ui/button'
|
||||
import { Separator } from '@/components/ui/separator'
|
||||
import { Input } from '@/components/ui/input'
|
||||
import { Label } from '@/components/ui/label'
|
||||
import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover'
|
||||
import { X, Banknote, CreditCard, FileText, Ban, UserRound, Tag } from 'lucide-react'
|
||||
import { toast } from 'sonner'
|
||||
|
||||
@@ -100,7 +100,6 @@ function useStoreLogo(companyId?: string) {
|
||||
}
|
||||
|
||||
export function POSReceipt({ data, size = 'thermal', footerText, config }: POSReceiptProps) {
|
||||
const { transaction: txn, company, location } = data
|
||||
const isThermal = size === 'thermal'
|
||||
|
||||
if (!isThermal) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { eq, and, sql, gte, lt } from 'drizzle-orm'
|
||||
import { eq, and, gte, lt } from 'drizzle-orm'
|
||||
import type { PostgresJsDatabase } from 'drizzle-orm/postgres-js'
|
||||
import { transactions, drawerSessions, drawerAdjustments, registers } from '../db/schema/pos.js'
|
||||
import { locations } from '../db/schema/stores.js'
|
||||
|
||||
Reference in New Issue
Block a user