mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-11-22 19:33:27 +01:00
8ccfa5c3fb
The harder-to-refactor parts are the places where exists/username/token are called within a React component. However, `resetAndRedirect` and `store` are already called from async contexts, so adding an `await` is simple. This thus merges the logic, keeping localStorage for the components to call, but making sure reset/store behaviour works correctly for the replica. |
||
---|---|---|
.. | ||
public | ||
src | ||
.eslintignore | ||
.eslintrc | ||
.prettierignore | ||
index.html | ||
package-lock.json | ||
package.json | ||
vite.config.js |