From 0a6cf5ba25467a6f0fde1b90f45b7a9e58f7642d Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sun, 25 Oct 2020 17:31:24 -0700 Subject: [PATCH] lint; skip ci --- .../scripts/components/server/files/NewDirectoryButton.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/scripts/components/server/files/NewDirectoryButton.tsx b/resources/scripts/components/server/files/NewDirectoryButton.tsx index e43f0aff9..0056cf688 100644 --- a/resources/scripts/components/server/files/NewDirectoryButton.tsx +++ b/resources/scripts/components/server/files/NewDirectoryButton.tsx @@ -13,7 +13,6 @@ import useFlash from '@/plugins/useFlash'; import useFileManagerSwr from '@/plugins/useFileManagerSwr'; import { WithClassname } from '@/components/types'; import FlashMessageRender from '@/components/FlashMessageRender'; -import ErrorBoundary from '@/components/elements/ErrorBoundary'; interface Values { directoryName: string; @@ -94,7 +93,7 @@ export default ({ className }: WithClassname) => {  /home/container/ {decodeURIComponent(encodeURIComponent( - join(directory, values.directoryName).replace(/^(\.\.\/|\/)+/, '') + join(directory, values.directoryName).replace(/^(\.\.\/|\/)+/, ''), ))}