Compose side fixes (#40000)
This commit is contained in:
8 files changed
+86
-21
No files matched your search
@@ -30,7 +30,7 @@ export const selectPlainStatus = createAppSelector(
|
||||
export const selectAccountStatus = createAppSelector(
|
||||
[
|
||||
selectPlainStatus,
|
||||
(state, statusId: string) => {
|
||||
(state, statusId?: string | null) => {
|
||||
const accountId = state.statuses.getIn([statusId, 'account']);
|
||||
if (typeof accountId !== 'string') {
|
||||
return null;
|
||||
|
||||
Reference in new issue
Block a user