Skip to content

Commit

Permalink
refactor: rename filtered to search word
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroramos17 committed Oct 13, 2024
1 parent 1ba1d2e commit 9931859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/features/customers/CustomerList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import type { Customer } from '@/lib/db/idb';
import { deleteVehiclesAsync } from '../vehicles/vehiclesSlice';
import { getVehiclesByCustomerId } from '@/lib/repositories/vehicleRepository';

export function searchCustomers(query: string, customers: Customer[]) {
export function searchCustomers(query: string, customers: Customer[]) {
const customerDocument = new FlexSearch.Document({
document: {
id: 'id',
Expand Down

0 comments on commit 9931859

Please sign in to comment.