mirror of
https://github.com/vector-im/element-call.git
synced 2026-07-30 19:39:22 +00:00
lint
This commit is contained in:
@@ -130,7 +130,7 @@ function createInCallView(args: CreateInCallViewArgs = {}): RenderResult & {
|
|||||||
const client = room.client;
|
const client = room.client;
|
||||||
|
|
||||||
const Router = args.initialRoute
|
const Router = args.initialRoute
|
||||||
? ({ children }: { children: React.ReactNode }) => (
|
? ({ children }: { children: React.ReactNode }): React.ReactNode => (
|
||||||
<MemoryRouter initialEntries={[args.initialRoute!]}>
|
<MemoryRouter initialEntries={[args.initialRoute!]}>
|
||||||
{children}
|
{children}
|
||||||
</MemoryRouter>
|
</MemoryRouter>
|
||||||
|
|||||||
Reference in New Issue
Block a user