Skip to content

Commit

Permalink
make renderSingleNumberfieldCell more concise
Browse files Browse the repository at this point in the history
  • Loading branch information
ErlingHauan committed Jan 8, 2025
1 parent f474a1e commit 4d7e555
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -483,13 +483,12 @@ const renderSingleTextfieldCell = (
const renderSingleNumberfieldCell = (
props: CellNumberfieldProps,
ref?: ForwardedRef<HTMLInputElement>,
): RenderResult => {
return render(
): RenderResult =>
render(
<SingleRow>
<StudioInputTable.Cell.Numberfield {...props} ref={ref} />
</SingleRow>,
);
};

const renderSingleTextareaCell = (
props: CellTextareaProps,
Expand Down

0 comments on commit 4d7e555

Please sign in to comment.