Skip to content

Commit

Permalink
fix: typo on example/BleDevice component (#1183)
Browse files Browse the repository at this point in the history
  • Loading branch information
flexbox authored May 15, 2024
1 parent 75a85b3 commit 9563e8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/src/components/molecules/BleDevice/BleDevice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export type BleDeviceProps = {

export function BleDevice({ device, onPress }: BleDeviceProps) {
const isConnectableInfoValueIsUnavailable = typeof device.isConnectable !== 'boolean'
const isConnectableValue = device.isConnectable ? 'ture' : 'false'
const isConnectableValue = device.isConnectable ? 'true' : 'false'
const parsedIsConnectable = isConnectableInfoValueIsUnavailable ? '-' : isConnectableValue

return (
Expand Down

0 comments on commit 9563e8c

Please sign in to comment.