Skip to content

Commit

Permalink
chore(mesh-wide): signal 0 is not an error!
Browse files Browse the repository at this point in the history
  • Loading branch information
selankon committed Aug 14, 2024
1 parent 14f122a commit 323d03b
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,7 @@ const compareWifiData = (reference: IWifiLinkData, actual: IWifiLinkData) => {
// const { data: communitySettings } = useCommunitySettings();

const errors: WifiLinkErrorCodes[] = [];
if (
actual === undefined ||
actual.signal === undefined ||
actual.signal === 0
) {
if (actual === undefined || actual.signal === undefined) {
return [WifiLinkErrorCodes.LINK_DOWN];
}

Expand Down

0 comments on commit 323d03b

Please sign in to comment.