Add button to clear localStorage

This commit is contained in:
2022-07-12 21:39:57 +00:00
父節點 281493ad25
當前提交 b31fc7e4c6
共有 2 個文件被更改,包括 7 次插入1 次删除

查看文件

@@ -22,6 +22,6 @@ That means you have the right to study, change, and distribute the software and
Thanks to the Protospace Portal Committee. Thanks to the Protospace Portal Committee.
Thanks to Emrah for lockout certification code, Pat for LDAP code, and Murray for the blank member form PDF. Thanks to Emrah for lockout certification code, Pat for LDAP code, Murray for the blank member form PDF, and Kent for a ton of features.
Thanks to all the devs behind Python, Django, DRF, Node, React, Quill, and Bleach. Thanks to all the devs behind Python, Django, DRF, Node, React, Quill, and Bleach.

查看文件

@@ -25,6 +25,12 @@ export function Debug(props) {
</Button> </Button>
</p> </p>
<p>
<Button onClick={() => {localStorage.clear()}}>
Clear localStorage
</Button>
</p>
<p><Link to='/classfeed'>Classfeed</Link></p> <p><Link to='/classfeed'>Classfeed</Link></p>
<p><Link to='/usage/trotec'>Trotec Usage</Link></p> <p><Link to='/usage/trotec'>Trotec Usage</Link></p>