1
0
mirror of https://github.com/upscayl/upscayl.git synced 2025-01-19 09:27:27 +01:00

20 lines
484 B
TypeScript
Raw Normal View History

2023-09-03 14:46:48 +05:30
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-primary btn"
onClick={async () => {
localStorage.clear();
alert(
"Upscayl has been reset. Please close this window and open Upscayl again."
);
}}>
RESET UPSCAYL
</button>
</div>
);
}