From f6bec474f43f514e9f6768b82514008533870dfd Mon Sep 17 00:00:00 2001 From: Charles Morgan Date: Fri, 18 Sep 2020 03:43:33 -0400 Subject: [PATCH] Remove unused imports --- resources/scripts/components/elements/CodemirrorEditor.tsx | 2 +- .../scripts/components/server/backups/CreateBackupButton.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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;