Skip to content

Commit

Permalink
Cleaned up eslint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
pnicolli committed Oct 15, 2024
1 parent 4e4de75 commit 01e7043
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/nextjs/src/app/Providers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const Providers: React.FC<{
}),
);

let router = useRouter();
const router = useRouter();

return (
<RouterProvider navigate={router.push}>
Expand Down
2 changes: 1 addition & 1 deletion apps/nextjs/src/app/content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import '@plone/components/dist/basic.css';
export default function Content() {
const { getContentQuery } = usePloneClient();
const pathname = usePathname();
const { data, isLoading } = useQuery(getContentQuery({ path: pathname }));
const { data } = useQuery(getContentQuery({ path: pathname }));

if (data) {
return (
Expand Down

0 comments on commit 01e7043

Please sign in to comment.