fix rename issue

pull/4446/head
Joseph Izang 9 months ago
parent 5f5e861860
commit 7ae20c7756
  1. 1
      libs/remix-ui/workspace/src/lib/components/file-explorer.tsx

@ -131,6 +131,7 @@ export const FileExplorer = (props: FileExplorerProps) => {
const renamePath = async (oldPath: string, newPath: string) => {
try {
if (oldPath === newPath) return
props.dispatchRenamePath(oldPath, newPath)
} catch (error) {
props.modal(

Loading…
Cancel
Save