Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TyHil committed Oct 25, 2024
1 parent 35fb8b5 commit 8a5c65e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/SearchResultsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ import type { RMPInterface } from '~data/fetchFromRmp';
import type { GenericFetchedData, GradesType } from '~pages';
import { useRainbowColors } from '~utils/colors';
import {
type SearchQuery,
convertToCourseOnly,
convertToProfOnly,
type SearchQuery,
searchQueryLabel,
} from '~utils/SearchQuery';

Expand Down
2 changes: 1 addition & 1 deletion src/components/SingleGradesInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import BarGraph from '~components/BarGraph';
import { TRENDS_URL } from '~data/config';
import type { GenericFetchedData, GradesType } from '~pages';
import {
type SearchQuery,
convertToCourseOnly,
convertToProfOnly,
type SearchQuery,
searchQueryLabel,
} from '~utils/SearchQuery';

Expand Down
2 changes: 1 addition & 1 deletion src/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export function listenForTableChange() {
) {
//button corresponding to shown table is given an active class
if ((mutation.target as Element).classList.contains('active')) {
// @ts-ignore:next-line
// @ts-expect-error:next-line
realBrowser.runtime.sendMessage('tableChange');
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import fetchWithCache, {
expireTime,
} from '~data/fetchWithCache';
import {
type SearchQuery,
convertToProfOnly,
type SearchQuery,
searchQueryEqual,
searchQueryLabel,
} from '~utils/SearchQuery';
Expand Down Expand Up @@ -142,7 +142,7 @@ function fetchRmpData(professor: SearchQuery): Promise<RMPInterface> {
async function getCourseData() {
const response: ShowCourseTabPayload = await sendToBackground({
// See https://docs.plasmo.com/framework/messaging#3-generate-static-types
// @ts-ignore:next-line
// @ts-expect-error:next-line
name: 'getScrapeData',
});
return response;
Expand Down
2 changes: 1 addition & 1 deletion src/popup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import '~/style.css';

import { useMediaQuery } from '@mui/material';
import { createTheme, ThemeProvider } from '@mui/material/styles';
import resolveConfig from 'tailwindcss/resolveConfig';
import React from 'react';
import resolveConfig from 'tailwindcss/resolveConfig';

import Index from '~/pages';
import { neededOrigins } from '~data/config';
Expand Down

0 comments on commit 8a5c65e

Please sign in to comment.