fix e2e by fixing URL

builtincomp
Aniket-Engg 2 years ago committed by Aniket
parent 8c8e81de93
commit 34aeee24e4
  1. 2
      libs/remix-ui/home-tab/src/lib/components/homeTabFile.tsx

@ -49,7 +49,7 @@ function HomeTabFile ({plugin}: HomeTabFileProps) {
try { try {
if (await workspace.exists(type + '/' + cleanUrl)) toast('File already exists in workspace') if (await workspace.exists(type + '/' + cleanUrl)) toast('File already exists in workspace')
else { else {
workspace.addExternal(cleanUrl, content, url) workspace.addExternal(type + '/' + cleanUrl, content, url)
plugin.call('menuicons', 'select', 'filePanel') plugin.call('menuicons', 'select', 'filePanel')
} }
} catch (e) { } catch (e) {

Loading…
Cancel
Save