snapshot of https://github.com/jitsi/jitsi-meet.git @ fd1749dd28f4138aa80234fc7f311b19aaffa0e7 (2026-09-15)
This commit is contained in:
11
react/features/always-on-top/index.tsx
Normal file
11
react/features/always-on-top/index.tsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import React from 'react';
|
||||
import { createRoot } from 'react-dom/client';
|
||||
|
||||
import AlwaysOnTop from './AlwaysOnTop';
|
||||
|
||||
// Render the main/root Component.
|
||||
const root = createRoot(document.getElementById('react') as HTMLElement);
|
||||
|
||||
root.render(<AlwaysOnTop />);
|
||||
|
||||
window.addEventListener('beforeunload', () => root.unmount());
|
||||
Reference in New Issue
Block a user