update label

pull/5370/head
yann300 3 years ago committed by GitHub
parent c6dd71ec1c
commit b0afa6d156
  1. 6
      libs/remix-ui/settings/src/lib/remix-ui-settings.tsx

@ -223,17 +223,13 @@ export const RemixUiSettings = (props: RemixUiSettingsProps) => {
<h6 className="card-title">{ localStorageTitle }</h6> <h6 className="card-title">{ localStorageTitle }</h6>
<div className=""> <div className="">
<div className="mb-0"> <div className="mb-0">
<span><i className="fas fa-exclamation-triangle text-warning" aria-hidden="true"></i>
Clearing the local storage will delete Remix settings. This will <i>not</i> remove your working files.
</span>
<br />
<button className="btn btn-sm btn-secondary ml-2" onClick={() => { <button className="btn btn-sm btn-secondary ml-2" onClick={() => {
try { try {
localStorage.clear() localStorage.clear()
} catch (e) { } catch (e) {
console.log(e) console.log(e)
} }
}}>Clear Local Storage</button> }}>Reset</button>
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save