kopia lustrzana https://github.com/bugout-dev/moonstream
commit
3997658e34
|
@ -110,7 +110,7 @@ const EntriesNavigation = () => {
|
||||||
newFilterState[0].value === null
|
newFilterState[0].value === null
|
||||||
) {
|
) {
|
||||||
setFilterProps(0, {
|
setFilterProps(0, {
|
||||||
value: subscriptionsCache.data.subscriptions[0].address,
|
value: subscriptionsCache?.data?.subscriptions[0]?.address,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}, [subscriptionsCache, newFilterState, setFilterProps]);
|
}, [subscriptionsCache, newFilterState, setFilterProps]);
|
||||||
|
@ -253,7 +253,7 @@ const EntriesNavigation = () => {
|
||||||
onChange={handleAddressChange(idx)}
|
onChange={handleAddressChange(idx)}
|
||||||
>
|
>
|
||||||
{!subscriptionsCache.isLoading &&
|
{!subscriptionsCache.isLoading &&
|
||||||
subscriptionsCache.data.subscriptions.map(
|
subscriptionsCache?.data?.subscriptions.map(
|
||||||
(subscription, idx) => {
|
(subscription, idx) => {
|
||||||
return (
|
return (
|
||||||
<option
|
<option
|
||||||
|
@ -318,7 +318,8 @@ const EntriesNavigation = () => {
|
||||||
direction: DIRECTIONS.SOURCE,
|
direction: DIRECTIONS.SOURCE,
|
||||||
condition: CONDITION.EQUAL,
|
condition: CONDITION.EQUAL,
|
||||||
value:
|
value:
|
||||||
subscriptionsCache.data.subscriptions[0].address,
|
subscriptionsCache?.data?.subscriptions[0]
|
||||||
|
?.address,
|
||||||
},
|
},
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
|
@ -334,7 +335,8 @@ const EntriesNavigation = () => {
|
||||||
direction: DIRECTIONS.DESTINATION,
|
direction: DIRECTIONS.DESTINATION,
|
||||||
condition: CONDITION.EQUAL,
|
condition: CONDITION.EQUAL,
|
||||||
value:
|
value:
|
||||||
subscriptionsCache.data.subscriptions[0].address,
|
subscriptionsCache?.data?.subscriptions[0]
|
||||||
|
?.address,
|
||||||
},
|
},
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
|
@ -407,7 +409,6 @@ const EntriesNavigation = () => {
|
||||||
id="StreamEntry"
|
id="StreamEntry"
|
||||||
overflowY="scroll"
|
overflowY="scroll"
|
||||||
direction="column"
|
direction="column"
|
||||||
|
|
||||||
w="100%"
|
w="100%"
|
||||||
onScroll={(e) => handleScroll(e)}
|
onScroll={(e) => handleScroll(e)}
|
||||||
>
|
>
|
||||||
|
|
|
@ -55,7 +55,6 @@ const StreamEntry = ({ entry, filterCallback, filterConstants }) => {
|
||||||
transition="0.1s"
|
transition="0.1s"
|
||||||
_hover={{ bg: "secondary.200" }}
|
_hover={{ bg: "secondary.200" }}
|
||||||
flexBasis="50px"
|
flexBasis="50px"
|
||||||
flexGrow={1}
|
|
||||||
direction="row"
|
direction="row"
|
||||||
justifySelf="center"
|
justifySelf="center"
|
||||||
justifyContent="normal"
|
justifyContent="normal"
|
||||||
|
|
Ładowanie…
Reference in New Issue