Skip to content

Commit 0832a04

Browse files
committed
nvm just had to order imports
1 parent 0e8d8d5 commit 0832a04

File tree

3 files changed

+10
-12
lines changed

3 files changed

+10
-12
lines changed

gatsby-node.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -598,12 +598,12 @@ exports.onCreateWebpackConfig = ({ actions, stage, loaders, plugins }) => {
598598
},
599599
],
600600
},
601-
plugins: [
602-
new FilterWarningsPlugin({
603-
exclude:
604-
/mini-css-extract-plugin[^]*Conflicting order. Following module has been added:/,
605-
}),
606-
],
601+
// plugins: [
602+
// new FilterWarningsPlugin({
603+
// exclude:
604+
// /mini-css-extract-plugin[^]*Conflicting order. Following module has been added:/,
605+
// }),
606+
// ],
607607
});
608608
if (stage === 'build-javascript' || stage === 'develop') {
609609
actions.setWebpackConfig({

src/components/ProblemsPage/ProblemHits.tsx

+2-4
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,12 @@ import {
1111
import { useUserProgressOnProblems } from '../../context/UserDataContext/properties/userProgress';
1212
import {
1313
AlgoliaProblemInfo,
14-
getProblemURL,
1514
ProblemInfo,
15+
getProblemURL,
1616
recentUsaco,
1717
} from '../../models/problem';
18-
import { difficultyClasses } from '../DifficultyBox';
19-
import ProblemStatusCheckbox from '../markdown/ProblemsList/ProblemStatusCheckbox';
20-
import TextTooltip from '../Tooltip/TextTooltip';
2118
import DifficultyBox from '../DifficultyBox';
19+
import ProblemStatusCheckbox from '../markdown/ProblemsList/ProblemStatusCheckbox';
2220

2321
interface ProblemHitProps {
2422
hit: AlgoliaProblemInfo;

src/components/markdown/ProblemsList/ProblemsListItem.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ import styled, { css } from 'styled-components';
33
import tw from 'twin.macro';
44
import { olympiads, ProblemInfo, probSources } from '../../../models/problem';
55
import { UsacoTableProgress } from '../../Dashboard/DashboardProgress';
6-
import Tooltip from '../../Tooltip/Tooltip';
6+
import DifficultyBox from '../../DifficultyBox';
77
import TextTooltip from '../../Tooltip/TextTooltip';
8+
import Tooltip from '../../Tooltip/Tooltip';
89
import ProblemsListItemDropdown from './ProblemsListItemDropdown';
910
import ProblemStatusCheckbox from './ProblemStatusCheckbox';
10-
import DifficultyBox from '../../DifficultyBox';
1111

1212
export type ProblemsListItemProps = {
1313
problem: any; // ProblemInfo | DivisionProblemInfo; @jeffrey todo. DivisionProblemInfo if is division table, otherwise ProblemInfo

0 commit comments

Comments
 (0)