mirror of
https://github.com/element-hq/element-call.git
synced 2026-10-22 15:22:25 +00:00
lint
This commit is contained in:
1 parent
7e1ee2eece
commit
02fa29c7b2
1 file changed
+1
-1
@@ -130,7 +130,7 @@ function createInCallView(args: CreateInCallViewArgs = {}): RenderResult & {
|
||||
const client = room.client;
|
||||
|
||||
const Router = args.initialRoute
|
||||
? ({ children }: { children: React.ReactNode }) => (
|
||||
? ({ children }: { children: React.ReactNode }): React.ReactNode => (
|
||||
<MemoryRouter initialEntries={[args.initialRoute!]}>
|
||||
{children}
|
||||
</MemoryRouter>
|
||||
|
||||
Reference in new issue
Block a user