mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-27 05:28:43 +02:00
refactor: remove sub-eslintrc, fix more lint errors (#7530)
This commit is contained in:
parent
f443e992b9
commit
9023b7740c
20 changed files with 129 additions and 92 deletions
|
@ -21,7 +21,7 @@ const createContainer = () => {
|
|||
};
|
||||
|
||||
export default async function renderReloadPopup(props: Props): Promise<void> {
|
||||
const container = getContainer() || createContainer();
|
||||
const container = getContainer() ?? createContainer();
|
||||
const ReloadPopup = (await import('@theme/PwaReloadPopup')).default;
|
||||
ReactDOM.render(<ReloadPopup {...props} />, container);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue