Get MVP of web app running
This commit is contained in:
parent
751dfb20fd
commit
a3d2db9645
8 changed files with 158 additions and 46 deletions
|
@ -76,7 +76,11 @@ export function DropdownButton({
|
|||
onPress={onPress}
|
||||
hitSlop={HITSLOP}
|
||||
// Fix an issue where specific references cause runtime error in jest environment
|
||||
ref={process.env.JEST_WORKER_ID != null ? null : ref}>
|
||||
ref={
|
||||
typeof process !== 'undefined' && process.env.JEST_WORKER_ID != null
|
||||
? null
|
||||
: ref
|
||||
}>
|
||||
{children}
|
||||
</TouchableOpacity>
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue