-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates to use core components in microfrontends
- Loading branch information
Showing
5 changed files
with
31 additions
and
24 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
import React from "react"; | ||
import React, { Suspense } from "react"; | ||
const PageTitle = React.lazy(() => import("core/PageTitle")); | ||
|
||
const CareLivekit: React.FC = () => { | ||
return <div>CareLivekit</div>; | ||
return ( | ||
<Suspense fallback={<div>Loading...</div>}> | ||
<div> | ||
{PageTitle ? ( | ||
<PageTitle title="CareLivekit" /> | ||
) : ( | ||
"PageTitle not available" | ||
)} | ||
</div> | ||
</Suspense> | ||
); | ||
}; | ||
|
||
export default CareLivekit; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters