Verified Commit 17d3dc89 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Fix push notification permission before loggin in

parent 1781be4f
......@@ -12,7 +12,7 @@ function* register(action) {
const token = yield select(tokenSelector);
const { categories } = action;
if (token === undefined) {
if (!token) {
// There is no token, thus do nothing
return;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment