Add a way to clear saves.
This commit is contained in:
parent
2b3875dd47
commit
e21042d08b
|
|
@ -6,6 +6,10 @@ export const useSaveSystem = () => {
|
|||
|
||||
useEffect(() => {
|
||||
const handleKeyDown = (e: KeyboardEvent) => {
|
||||
if (e.key === 'r' && e.ctrlKey) {
|
||||
localStorage.clear()
|
||||
}
|
||||
|
||||
const slot =
|
||||
{
|
||||
'1': 1,
|
||||
|
|
|
|||
Loading…
Reference in a new issue