Skip to content
This repository was archived by the owner on May 24, 2022. It is now read-only.

Commit d502fe6

Browse files
committed
Add default case to switch
1 parent 89a5e5c commit d502fe6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/fether-react/src/RequireHealthOverlay/RequireHealthOverlay.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ function statusMatches (status, require) {
1919
);
2020
case 'sync':
2121
return status === STATUS.GOOD;
22+
default:
23+
return false;
2224
}
2325
}
2426

0 commit comments

Comments
 (0)