unify peripheral state struct.
This commit is contained in:
@@ -9,8 +9,8 @@ const DeviceStates: FC = () => {
|
||||
|
||||
return (
|
||||
<>
|
||||
<IconRssi height={16} level={deviceState.rssi} />
|
||||
<IconBattery height={16} level={deviceState.battery} />
|
||||
<IconRssi height={16} level={deviceState?.rssi} />
|
||||
<IconBattery height={16} level={deviceState?.battery} />
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user