Skip to content

Commit

Permalink
Fix Next lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
solimander committed Jan 29, 2024
1 parent bdbec94 commit 5da335e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ module.exports = {
'@typescript-eslint/no-namespace': [
'off',
path.join(__dirname, 'packages/sdk')
],
'@typescript-eslint/no-unsafe-assignment': [
'off',
path.join(__dirname, 'packages/frontend')
],
'@typescript-eslint/no-unsafe-call': [
'off',
path.join(__dirname, 'packages/frontend')
]
},
plugins: ['@typescript-eslint'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const PropHouseDataExample = () => {
const fetch = async () => {
setRounds(await propHouse.query.getRounds());
};
fetch();
void fetch();
}, [propHouse.query]);

return <>{rounds?.map((round) => <p>{round.title}</p>) || <Skeleton />}</>;
Expand Down

0 comments on commit 5da335e

Please sign in to comment.