Skip to content

Commit

Permalink
Remove head component in discussion route because it's already used i…
Browse files Browse the repository at this point in the history
…n ContentLayout
  • Loading branch information
michaeltg17 committed Jun 6, 2024
1 parent e8181b4 commit 777534a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/app/routes/app/discussions/discussion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { ErrorBoundary } from 'react-error-boundary';
import { LoaderFunctionArgs, useParams } from 'react-router-dom';

import { ContentLayout } from '@/components/layouts';
import { Head } from '@/components/seo';
import { Spinner } from '@/components/ui/spinner';
import { getCommentsQueryOptions } from '@/features/comments/api/get-comments';
import { Comments } from '@/features/comments/components/comments';
Expand Down Expand Up @@ -55,7 +54,6 @@ export const DiscussionRoute = () => {

return (
<>
<Head title={discussionQuery.data.title} />
<ContentLayout title={discussionQuery.data.title}>
<DiscussionView discussionId={discussionId} />
<div className="mt-8">
Expand Down

0 comments on commit 777534a

Please sign in to comment.