diff --git a/frontend/src/components/HandbookOverlay/Pages/HandbookAttacks.test.tsx b/frontend/src/components/HandbookOverlay/Pages/HandbookAttacks.test.tsx index db96e71d9..ebad2aa20 100644 --- a/frontend/src/components/HandbookOverlay/Pages/HandbookAttacks.test.tsx +++ b/frontend/src/components/HandbookOverlay/Pages/HandbookAttacks.test.tsx @@ -1,13 +1,9 @@ import { render, screen } from '@testing-library/react'; import { describe, expect, test } from 'vitest'; -import { - ATTACKS_LEVEL_2, - ATTACKS_LEVEL_3, - ATTACKS_ALL, -} from '@src/components/HandbookOverlay/Pages/Attacks'; import { LEVEL_NAMES } from '@src/models/level'; +import { ATTACKS_LEVEL_2, ATTACKS_LEVEL_3, ATTACKS_ALL } from './Attacks'; import HandbookAttacks from './HandbookAttacks'; describe('HandbookAttacks component tests', () => { diff --git a/frontend/src/components/HandbookOverlay/Pages/HandbookAttacks.tsx b/frontend/src/components/HandbookOverlay/Pages/HandbookAttacks.tsx index 243772d2a..72d142a31 100644 --- a/frontend/src/components/HandbookOverlay/Pages/HandbookAttacks.tsx +++ b/frontend/src/components/HandbookOverlay/Pages/HandbookAttacks.tsx @@ -1,11 +1,8 @@ -import { - ATTACKS_ALL, - ATTACKS_LEVEL_2, - ATTACKS_LEVEL_3, -} from '@src/components/HandbookOverlay/Pages/Attacks'; import { AttackInfo } from '@src/models/attack'; import { LEVEL_NAMES } from '@src/models/level'; +import { ATTACKS_ALL, ATTACKS_LEVEL_2, ATTACKS_LEVEL_3 } from './Attacks'; + import './HandbookPage.css'; function HandbookAttacks({ currentLevel }: { currentLevel: LEVEL_NAMES }) { diff --git a/frontend/src/components/HandbookOverlay/Pages/HandbookGlossary.test.tsx b/frontend/src/components/HandbookOverlay/Pages/HandbookGlossary.test.tsx index ae09dc66c..d227b7a40 100644 --- a/frontend/src/components/HandbookOverlay/Pages/HandbookGlossary.test.tsx +++ b/frontend/src/components/HandbookOverlay/Pages/HandbookGlossary.test.tsx @@ -1,9 +1,9 @@ import { render, screen } from '@testing-library/react'; import { describe, expect, test } from 'vitest'; -import { GLOSSARY } from '@src/components/HandbookOverlay/Pages/Glossary'; import { LEVEL_NAMES } from '@src/models/level'; +import { GLOSSARY } from './Glossary'; import HandbookGlossary from './HandbookGlossary'; describe('HandbookGlossary component tests', () => { diff --git a/frontend/src/components/HandbookOverlay/Pages/HandbookGlossary.tsx b/frontend/src/components/HandbookOverlay/Pages/HandbookGlossary.tsx index 90af318d2..300f2f14d 100644 --- a/frontend/src/components/HandbookOverlay/Pages/HandbookGlossary.tsx +++ b/frontend/src/components/HandbookOverlay/Pages/HandbookGlossary.tsx @@ -1,6 +1,7 @@ -import { GLOSSARY } from '@src/components/HandbookOverlay/Pages/Glossary'; import { LEVEL_NAMES } from '@src/models/level'; +import { GLOSSARY } from './Glossary'; + import './HandbookPage.css'; function HandbookGlossary({ currentLevel }: { currentLevel: LEVEL_NAMES }) {