Skip to content

Commit

Permalink
Update type
Browse files Browse the repository at this point in the history
  • Loading branch information
mattupham committed Aug 10, 2024
1 parent 8ea3fe2 commit 063cc6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/web/components/table/asset-balances.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import type { Search } from "@osmosis-labs/server";
import type { SortDirection } from "@osmosis-labs/utils";
import {
CellContext,
ColumnDef,
createColumnHelper,
flexRender,
getCoreRowModel,
Expand Down Expand Up @@ -169,7 +170,7 @@ export const AssetBalancesTable: FunctionComponent<{
const noSearchResults = Boolean(searchQuery) && !filteredAssetsData.length;

// Define columns
const columns = useMemo(() => {
const columns = useMemo<ColumnDef<AssetRow, any>[]>(() => {
const columnHelper = createColumnHelper<AssetRow>();
return [
columnHelper.accessor((row) => row, {
Expand Down

0 comments on commit 063cc6b

Please sign in to comment.