mirror of
https://github.com/vector-im/element-call.git
synced 2026-05-01 09:54:37 +00:00
lint
This commit is contained in:
@@ -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