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(/^(\.\.\/|\/)+/, ''), ))}