mirror of
https://github.com/upscayl/upscayl.git
synced 2024-12-19 10:55:53 +01:00
19 lines
442 B
TypeScript
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>
|
|
);
|
|
}
|