Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/animation to search tables loading issue #1531 #1540

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/Tables/TableGrid/TableGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default function TableGrid({
<SlideTransition
key={table.id}
appear
timeout={(sectionIndex + 1) * 100 + tableIndex * 50}
timeout={(sectionIndex + 1) * 0 + tableIndex * 0}
>
<Grid item xs={12} sm={6} md={4} lg={3}>
<TableCard
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useBasicSearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { matchSorter, rankings } from "match-sorter";
export function useBasicSearch<T>(
list: T[],
keys: string[],
debounce: number = 400
debounce: number = 200
) {
const [query, setQuery] = useState("");
const handleQuery = useDebouncedCallback(setQuery, debounce);
Expand Down