We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7affe0e + 02645ef commit b235a74Copy full SHA for b235a74
scoutingapp/src/components/pages/StoragePage.tsx
@@ -15,6 +15,12 @@ export function StoragePage() {
15
<div className="px-4">
16
<div className="h-10 w-full mb-8 mt-4">
17
<h1 className="text-3xl font-bold mb-8 inline float-left">Saved Codes</h1>
18
+ <button
19
+ className="text-xl font-semibold mb-8 inline float-right bg-gray-200 rounded-md p-2"
20
+ onClick={() => {localStorage.setItem("codes", "{}"); window.location.reload();}}
21
+ >
22
+ Clear Saved Codes
23
+ </button>
24
</div>
25
26
<div className="mt-4 px-4">
@@ -33,4 +39,4 @@ export function StoragePage() {
33
39
34
40
35
41
)
36
-}
42
+}
0 commit comments