Skip to content

Commit

Permalink
fix: resolve PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Rickk137 committed Sep 21, 2023
1 parent 2b0e78b commit a0226c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ export const AdjustStakeRenderer: FC<AdjustStakeRendererProps> = ({
);

const onAdjustSuccess = useCallback(() => {
console.log('onAdjustSuccess');
onSuccess();
toggleAdjustStakeDialog();
}, [onSuccess]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ export const COLUMNS_CONFIG = (onSuccess: () => void) => [
{
id: 'actions',
title: ' ',
cellRenderer: (item: StakeItem) =>
AdjustStakeRenderer({ stake: item, onSuccess }),
cellRenderer: (item: StakeItem) => (
<AdjustStakeRenderer stake={item} onSuccess={onSuccess} />
),
labelClassName: 'hidden lg:table-cell',
valueClassName: 'w-full lg:w-auto',
className: 'flex',
Expand Down

0 comments on commit a0226c1

Please sign in to comment.