[Glitch] Remove dependency resolution override for React 19 types

Port f2e10fd5db to glitch-soc

Co-authored-by: ChaosExAnima <ChaosExAnima@users.noreply.github.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
diondiondionandChaosExAnima authored and Claire committed 2026-06-25 20:28:13 +02:00
1 parent 517b50ea97
commit 241faae836
49 files changed
+103 -92

No files matched your search

+2 -2
View File
@@ -20,7 +20,7 @@ interface AllowedTag {
}
type AllowedTagsType = {
[Tag in keyof React.ReactHTML]?: AllowedTag;
[Tag in keyof React.JSX.IntrinsicElements]?: AllowedTag;
};
const globalAttributes: Record<string, boolean | string> = htmlConfig.global;
@@ -70,7 +70,7 @@ export function htmlStringToComponents<Arg extends Record<string, unknown>>(
const wrapper = document.createElement('template');
wrapper.innerHTML = htmlString;
const rootChildren: React.ReactNode[] = [];
const rootChildren: Awaited<React.ReactNode>[] = [];
const queue: QueueItem[] = [
{ node: wrapper.content, parent: rootChildren, depth: 0 },
];