Skip to content

Commit

Permalink
fixed eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
KaleemNeslit committed Nov 14, 2024
1 parent 7255c05 commit 4c0ec31
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ export const MarkdownFormattedText = ({
</div>
{threadImage ? (
<div className="card-image-container">
<img src={threadImage} alt={`Thread content`} />
<img src={threadImage} alt="Thread content" />
</div>
) : null}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import { extractImages } from 'client/scripts/helpers/feed';
import { getThreadActionTooltipText } from 'client/scripts/helpers/threads';
import { getProposalUrlPath } from 'client/scripts/identifiers';
import useUserStore from 'client/scripts/state/ui/user';
import useBrowserWindow from 'hooks/useBrowserWindow';
import useManageDocumentTitle from 'hooks/useManageDocumentTitle';
import useTopicGating from 'hooks/useTopicGating';
import 'pages/discussions/index.scss';
Expand Down Expand Up @@ -110,7 +109,6 @@ const DiscussionsPage = ({ topicName }: DiscussionsPageProps) => {
}
}, [tabStatus]);

const { isWindowExtraSmall } = useBrowserWindow({});
const isAdmin = Permissions.isSiteAdmin() || Permissions.isCommunityAdmin();

const topicObj = topics?.find(({ name }) => name === topicName);
Expand Down

0 comments on commit 4c0ec31

Please sign in to comment.