Skip to content
Snippets Groups Projects
Commit 1fb78602 authored by Thibaut Girka's avatar Thibaut Girka Committed by ThibG
Browse files

Do not cause an error if domain_lists.blocks.next is undefined (fixes #572)

Port d0d23b8f to glitch-soc
parent 8501ad5c
Branches
Tags
No related merge requests found
......@@ -128,7 +128,7 @@ export function expandDomainBlocks() {
return (dispatch, getState) => {
const url = getState().getIn(['domain_lists', 'blocks', 'next']);
if (url === null) {
if (!url) {
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment