Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
WardBrian committed Aug 6, 2024
1 parent 073b74b commit bd51afd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gui/src/app/SamplerOutputView/SamplerOutputView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const DrawsView: FunctionComponent<DrawsViewProps> = ({
const [abbreviatedToNumRows, setAbbreviatedToNumRows] = useState<
number | undefined
>(300);
const draws2 = useMemo(() => {
const formattedDraws = useMemo(() => {
if (abbreviatedToNumRows === undefined) return draws;
return draws.map((draw) => draw.slice(0, abbreviatedToNumRows));
}, [draws, abbreviatedToNumRows]);
Expand Down Expand Up @@ -169,7 +169,7 @@ const DrawsView: FunctionComponent<DrawsViewProps> = ({
</tr>
</thead>
<tbody>
{draws2[0].map((_, i) => (
{formattedDraws[0].map((_, i) => (
<tr key={i}>
<td>{drawChainIds[i]}</td>
<td>{drawNumbers[i]}</td>
Expand Down

0 comments on commit bd51afd

Please sign in to comment.