Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
geoperez committed Dec 9, 2024
1 parent 7d8b0de commit 1196339
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export type TableColumn = HasLabel & {
cellValue: TableCellTypes,
rawData: TDataIn,
data: TableCellTypes[][],
) => JSX.Element;
) => React.JSX.Element;
formatterOptions?: {
keepFormat?: boolean;
decimals?: number;
Expand Down
2 changes: 1 addition & 1 deletion src/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { startTransition, useEffect, useMemo, useRef, useState } from 'react';
import { debounce } from 'uno-js';

export const useDebounce = (callback: () => unknown, waitMilliseconds?: number) => {
const ref = useRef<() => unknown>();
const ref = useRef<() => unknown>(null);

useEffect(() => {
ref.current = callback;
Expand Down

0 comments on commit 1196339

Please sign in to comment.