mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 05:08:00 +02:00
Minor Fixes
This commit is contained in:
parent
44ee558509
commit
2b55ff908f
6 changed files with 21 additions and 14 deletions
|
@ -2,10 +2,10 @@ export const useStore = () => {
|
|||
try {
|
||||
return window.localStorage;
|
||||
} catch (err) {
|
||||
alert(err);
|
||||
console.error(err);
|
||||
|
||||
const error = i => {
|
||||
alert("Failed to Access '" + i + "' Please Enable localStorage.");
|
||||
console.error("Failed to Access '" + i + "' Please Enable localStorage.");
|
||||
};
|
||||
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue