mirror of
https://github.com/upscayl/upscayl.git
synced 2024-12-11 07:16:14 +01:00
21 lines
535 B
TypeScript
21 lines
535 B
TypeScript
import React from "react";
|
|
import commands from "../../../electron/commands";
|
|
|
|
export function ResetSettings() {
|
|
return (
|
|
<div className="flex flex-col items-start gap-2">
|
|
<p className="text-sm font-medium">RESET UPSCAYL</p>
|
|
<button
|
|
className="btn-primary btn"
|
|
onClick={async () => {
|
|
localStorage.clear();
|
|
alert(
|
|
"Upscayl has been reset. Please close this window and open Upscayl again."
|
|
);
|
|
}}>
|
|
RESET UPSCAYL
|
|
</button>
|
|
</div>
|
|
);
|
|
}
|