|
|
@ -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> |
|
|
|