nicolium: maybe now

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-02-27 02:16:44 +01:00
parent de09a7402a
commit 632346642d
4 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@ const Portal: React.FC<IPortal> = ({ children }) => {
return null;
}
return ReactDOM.createPortal(children, document.getElementById('plfe') as HTMLDivElement);
return ReactDOM.createPortal(children, document.getElementById('app') as HTMLDivElement);
};
export { Portal as default };

View File

@ -78,7 +78,7 @@ const ScheduleForm: React.FC<IScheduleForm> = ({ composeId }) => {
className={clsx({
'has-error': !isValidTime(scheduledAt),
})}
portalId='plfe'
portalId='app'
/>
</Suspense>
<IconButton

View File

@ -162,7 +162,7 @@ const EditAnnouncementModal: React.FC<BaseModalProps & EditAnnouncementModalProp
selected={startTime}
onChange={onChangeStartTime}
isClearable
portalId='plfe'
portalId='app'
/>
</FormGroup>
<FormGroup

View File

@ -9,7 +9,7 @@ const fetchAboutPage = async (slug: string, locale?: string) => {
const { data } = await staticFetch(`/instance/about/${filename}`);
if (data.includes('<div id="plfe">')) return '';
if (data.includes('<div id="app">')) return '';
return data;
};