Merge branch 'main' of github.com:daily-demos/examples into dailyjs/text-chat
This commit is contained in:
commit
9b79d2a510
|
|
@ -26,6 +26,7 @@ export const CardHeader = ({ children }) => (
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 1.375rem;
|
font-size: 1.375rem;
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
|
color: var(--text-default);
|
||||||
}
|
}
|
||||||
|
|
||||||
& + :global(.card-body) {
|
& + :global(.card-body) {
|
||||||
|
|
|
||||||
|
|
@ -74,8 +74,14 @@ export const useCallUI = ({
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<MessageCard error header="An error occured">
|
<MessageCard
|
||||||
An unknown error has occured in the call loop. This should not happen!
|
error
|
||||||
|
header="An unknown error occured"
|
||||||
|
onBack={() => window.location.reload()}
|
||||||
|
>
|
||||||
|
A fatal error occured in the call loop. Please check you have entered a
|
||||||
|
valid <code>DAILY_DOMAIN</code> and <code>DAILY_API_KEY</code>{' '}
|
||||||
|
environmental variables.
|
||||||
</MessageCard>
|
</MessageCard>
|
||||||
);
|
);
|
||||||
}, [
|
}, [
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue