fix rename issue

pull/5370/head
Joseph Izang 1 year ago
parent cd3f599cd9
commit 46c12b36fb
  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