From 7ed5f5470970fbf48f87ad23615732501e3cb453 Mon Sep 17 00:00:00 2001 From: Taso Date: Thu, 29 Jul 2021 21:12:58 -0400 Subject: [PATCH] fix(phone/call-modal): suspense fallback on contact lookup in call modal --- phone/src/os/call/components/CallModal.tsx | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/phone/src/os/call/components/CallModal.tsx b/phone/src/os/call/components/CallModal.tsx index edef3a5..75beeec 100644 --- a/phone/src/os/call/components/CallModal.tsx +++ b/phone/src/os/call/components/CallModal.tsx @@ -10,6 +10,7 @@ import getBackgroundPath from '../../../apps/settings/utils/getBackgroundPath'; import CallContactContainer from './CallContactContainer'; import { makeStyles } from '@material-ui/core/styles'; import RingingText from './RingingText'; +import { LoadingSpinner } from '../../../ui/components/LoadingSpinner'; const useStyles = makeStyles({ root: { @@ -36,13 +37,15 @@ export const CallModal: React.FC = () => { backgroundImage: `url(${getBackgroundPath(settings.wallpaper.value)})`, }} > - - - - {call.is_accepted ? : call.isTransmitter && } + }> + + + + {call.is_accepted ? : call.isTransmitter && } + + - - + );