mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Do not cause an error if domain_lists.blocks.next is undefined (fixes #572)
Port d0d23b8f0a
to glitch-soc
This commit is contained in:
parent
8501ad5c5c
commit
1fb78602c5
@ -128,7 +128,7 @@ export function expandDomainBlocks() {
|
|||||||
return (dispatch, getState) => {
|
return (dispatch, getState) => {
|
||||||
const url = getState().getIn(['domain_lists', 'blocks', 'next']);
|
const url = getState().getIn(['domain_lists', 'blocks', 'next']);
|
||||||
|
|
||||||
if (url === null) {
|
if (!url) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user