1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-12-19 10:55:53 +01:00
upscayl/renderer/components/settings-tab/ResetSettings.tsx
2024-04-21 19:34:59 +05:30

19 lines
442 B
TypeScript

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
className="btn btn-primary"
onClick={async () => {
localStorage.clear();
alert("Upscayl has been reset. Please restart the app.");
}}
>
RESET UPSCAYL
</button>
</div>
);
}