fix icon & do not log error

pull/5370/head
yann300 11 months ago committed by Aniket
parent 86532b85b4
commit 961ae3c094
  1. 2
      apps/remix-ide/src/app/files/workspaceFileProvider.js
  2. 2
      libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx

@ -14,7 +14,7 @@ class WorkspaceFileProvider extends FileProvider {
// make sure "code-sample" has been removed
window.remixFileSystem.unlink(this.workspacesPath + '/code-sample')
} catch (e) {
console.error(e)
// we don't need to log error if this throws an error
}
}

@ -949,7 +949,7 @@ export function Workspace() {
tooltipClasses="text-nowrap"
tooltipText={<FormattedMessage id="filePanel.saveCodeSample" />}
>
<i onClick={() => renameCurrentWorkspace()} className="far fa-exclamation-triangle text-info ml-2 mt-1" aria-hidden="true"></i>
<i onClick={() => renameCurrentWorkspace()} className="far fa-exclamation-triangle text-warning ml-2 mt-1" aria-hidden="true"></i>
</CustomTooltip>}
</span>
</div>

Loading…
Cancel
Save