Update npm non-major dependencies (#34320)
* Update npm non-major dependencies * Oxfmt --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
co-authored by
renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Michael Telatynski
parent
9de39dc72b
commit
67fc33ad98
@@ -39,8 +39,8 @@ interface IProps {
|
||||
}
|
||||
|
||||
export enum ThreadFilterType {
|
||||
"My",
|
||||
"All",
|
||||
My,
|
||||
All,
|
||||
}
|
||||
|
||||
type ThreadPanelHeaderOption = {
|
||||
|
||||
@@ -104,8 +104,10 @@ const DeviceDetails: React.FC<Props> = ({
|
||||
],
|
||||
},
|
||||
]
|
||||
.map((section) => // filter out falsy values
|
||||
({ ...section, values: section.values.filter((row) => !!row.value) }))
|
||||
.map((section) =>
|
||||
// filter out falsy values
|
||||
({ ...section, values: section.values.filter((row) => !!row.value) }),
|
||||
)
|
||||
.filter(
|
||||
(section) =>
|
||||
// then filter out sections with no values
|
||||
|
||||
@@ -22,8 +22,8 @@ export const useLiveBeacons = (roomId: Room["roomId"], matrixClient: MatrixClien
|
||||
room?.currentState,
|
||||
RoomStateEvent.BeaconLiveness,
|
||||
() =>
|
||||
room?.currentState?.liveBeaconIds.map(
|
||||
(beaconIdentifier) => room.currentState.beacons.get(beaconIdentifier)!,
|
||||
room?.currentState?.liveBeaconIds.map((beaconIdentifier) =>
|
||||
room.currentState.beacons.get(beaconIdentifier)!,
|
||||
) || [],
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user