Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 3a2db96

Browse files
committed
clean up
1 parent 6054ffe commit 3a2db96

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

framework/react/hoc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export function dynamic<T extends ComponentType<any>>(
5555

5656
useEffect(() => {
5757
factory().then(({ default: component }) => {
58-
if (isLikelyReactComponent(component, false)) {
58+
if (isLikelyReactComponent(component)) {
5959
setMod({ component })
6060
} else {
6161
setErr(new Error('Missing the react component exported as default'))

server/aleph.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1006,7 +1006,6 @@ export class Aleph implements IAleph {
10061006
let sourceType: SourceType = SourceType.Unknown
10071007
let sourceMap: string | null = null
10081008
let loader = this.#loadListeners.find(l => l.test.test(specifier))
1009-
let isStyle = isCSS(specifier)
10101009

10111010
if (loader) {
10121011
const { code, type = 'js', map } = await loader.load({ specifier, data })

0 commit comments

Comments
 (0)