Get MVP of web app running

This commit is contained in:
Paul Frazee 2023-01-26 12:53:46 -06:00
parent 751dfb20fd
commit a3d2db9645
8 changed files with 158 additions and 46 deletions

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>
)