Skip to content

Commit

Permalink
fix(staking): Fix ts error for event type
Browse files Browse the repository at this point in the history
  • Loading branch information
nevendyulgerov authored and brunomenezes committed Jun 14, 2023
1 parent b930068 commit 286e3a4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/staking/src/pages/stake/[pool]/commissions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
// PARTICULAR PURPOSE. See the GNU General Public License for more details.

import React, { useEffect, useState } from 'react';
import React, { ChangeEvent, useEffect, useState } from 'react';
import { useRouter } from 'next/router';
import { Box, Flex } from '@chakra-ui/react';
import { isArray } from 'lodash';
Expand Down Expand Up @@ -112,7 +112,9 @@ const PoolCommissions = ({ formattedAddress }: ENSStaticProps) => {
<PerPageSelect
value={rowsPerPage}
options={perPageOptions}
onChange={(event) => {
onChange={(
event: ChangeEvent<HTMLSelectElement>
) => {
setRowsPerPage(
Number(event.currentTarget.value)
);
Expand Down

0 comments on commit 286e3a4

Please sign in to comment.