README update (#749)

* README update

* Fix linter
This commit is contained in:
Félix Malfait
2023-07-19 11:50:07 +02:00
committed by GitHub
parent c2fb8fd040
commit 8af88d1ab3
2 changed files with 47 additions and 46 deletions

View File

@ -1,4 +1,4 @@
import { useLocation, useParams } from 'react-router-dom';
import { useParams } from 'react-router-dom';
import { useTheme } from '@emotion/react';
import { Timeline } from '@/activities/timeline/components/Timeline';
@ -14,8 +14,6 @@ import { CommentableType } from '~/generated/graphql';
export function PersonShow() {
const personId = useParams().personId ?? '';
const location = useLocation();
const { data } = usePersonQuery(personId);
const person = data?.findUniquePerson;