mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-06-26 18:10:41 +12:00
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. |
||
---|---|---|
.. | ||
app | ||
components | ||
img | ||
sounds | ||
index.jsx |