Skip to content

Commit

Permalink
fix: make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
angristan committed Jul 28, 2021
1 parent 1e33f70 commit 73f4593
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/components/User.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,7 @@ const User = ({ match }: RouteComponentProps<UserParams>) => {
} = useUser(match.params.id);

let benchmarks: benchmarkModel[] = [];
const {
isLoading: isBenchmarksLoading,
isError: isBenchmarksError,
data: benchmarksData,
error: benchmarksError,
} = useBenchmarksForUser(match.params.id);
const { data: benchmarksData } = useBenchmarksForUser(match.params.id);

if (isProfileLoading) {
return <span>Loading....</span>;
Expand Down

0 comments on commit 73f4593

Please sign in to comment.