lint; skip ci
This commit is contained in:
parent
092c942764
commit
0a6cf5ba25
1 changed files with 1 additions and 2 deletions
|
@ -13,7 +13,6 @@ import useFlash from '@/plugins/useFlash';
|
||||||
import useFileManagerSwr from '@/plugins/useFileManagerSwr';
|
import useFileManagerSwr from '@/plugins/useFileManagerSwr';
|
||||||
import { WithClassname } from '@/components/types';
|
import { WithClassname } from '@/components/types';
|
||||||
import FlashMessageRender from '@/components/FlashMessageRender';
|
import FlashMessageRender from '@/components/FlashMessageRender';
|
||||||
import ErrorBoundary from '@/components/elements/ErrorBoundary';
|
|
||||||
|
|
||||||
interface Values {
|
interface Values {
|
||||||
directoryName: string;
|
directoryName: string;
|
||||||
|
@ -94,7 +93,7 @@ export default ({ className }: WithClassname) => {
|
||||||
/home/container/
|
/home/container/
|
||||||
<span css={tw`text-cyan-200`}>
|
<span css={tw`text-cyan-200`}>
|
||||||
{decodeURIComponent(encodeURIComponent(
|
{decodeURIComponent(encodeURIComponent(
|
||||||
join(directory, values.directoryName).replace(/^(\.\.\/|\/)+/, '')
|
join(directory, values.directoryName).replace(/^(\.\.\/|\/)+/, ''),
|
||||||
))}
|
))}
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in a new issue