Fix nullish
This commit is contained in:
parent
9d1d4d0abf
commit
d2d19291ef
|
@ -26,7 +26,7 @@ export const createStores = (context: StoreContext): FilterStore => {
|
||||||
const { props } = context
|
const { props } = context
|
||||||
|
|
||||||
// Initialise to default props
|
// Initialise to default props
|
||||||
const filter = memo(get(props).initialFilter)
|
const filter = memo(get(props).initialFilter ?? undefined)
|
||||||
const inlineFilters = memo([])
|
const inlineFilters = memo([])
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in New Issue