1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-12-19 02:45:54 +01:00
upscayl/renderer/components/settings-tab/ResetSettings.tsx

19 lines
442 B
TypeScript
Raw Normal View History

2023-09-03 11:16:48 +02:00
import React from "react";
export function ResetSettings() {
return (
<div className="flex flex-col items-start gap-2">
<p className="text-sm font-medium">RESET UPSCAYL</p>
<button
2024-04-21 16:04:59 +02:00
className="btn btn-primary"
2023-09-03 11:16:48 +02:00
onClick={async () => {
localStorage.clear();
2024-04-21 16:04:59 +02:00
alert("Upscayl has been reset. Please restart the app.");
}}
>
2023-09-03 11:16:48 +02:00
RESET UPSCAYL
</button>
</div>
);
}