Get MVP of web app running

This commit is contained in:
Paul Frazee
2023-01-26 12:53:46 -06:00
parent 3a6c0624ab
commit 0627a7d1a7
8 changed files with 158 additions and 46 deletions
+5 -1
View File
@@ -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>
)