diff --git a/resources/scripts/components/elements/CodemirrorEditor.tsx b/resources/scripts/components/elements/CodemirrorEditor.tsx index 50b5449c5..e38ec77a0 100644 --- a/resources/scripts/components/elements/CodemirrorEditor.tsx +++ b/resources/scripts/components/elements/CodemirrorEditor.tsx @@ -2,7 +2,7 @@ import React, { useCallback, useEffect, useState } from 'react'; import CodeMirror from 'codemirror'; import styled from 'styled-components/macro'; import tw from 'twin.macro'; -import modes, { Mode } from '@/modes'; +import modes from '@/modes'; require('codemirror/lib/codemirror.css'); require('codemirror/theme/ayu-mirage.css'); diff --git a/resources/scripts/components/server/backups/CreateBackupButton.tsx b/resources/scripts/components/server/backups/CreateBackupButton.tsx index 5e8c3bfdf..9218b68ec 100644 --- a/resources/scripts/components/server/backups/CreateBackupButton.tsx +++ b/resources/scripts/components/server/backups/CreateBackupButton.tsx @@ -12,7 +12,6 @@ import tw from 'twin.macro'; import { Textarea } from '@/components/elements/Input'; import getServerBackups from '@/api/swr/getServerBackups'; import { ServerContext } from '@/state/server'; -import styled from 'styled-components/macro'; interface Values { name: string;