File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/runtime-core/src Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -317,7 +317,7 @@ export function createAppAPI<HostElement>(
317
317
namespace = 'svg'
318
318
}
319
319
320
- if ( namespace === false ) {
320
+ else if ( namespace === false ) {
321
321
namespace = undefined
322
322
}
323
323
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ export const TeleportImpl = {
116
116
if ( namespace === 'svg' || isTargetSVG ( target ) ) {
117
117
namespace = 'svg'
118
118
}
119
- if ( namespace === 'mathml' || isTargetMathML ( target ) ) {
119
+ else if ( namespace === 'mathml' || isTargetMathML ( target ) ) {
120
120
namespace = 'mathml'
121
121
}
122
122
} else if ( __DEV__ && ! disabled ) {
@@ -158,7 +158,7 @@ export const TeleportImpl = {
158
158
if ( namespace === 'svg' || isTargetSVG ( target ) ) {
159
159
namespace = 'svg'
160
160
}
161
- if ( namespace === 'mathml' || isTargetMathML ( target ) ) {
161
+ else if ( namespace === 'mathml' || isTargetMathML ( target ) ) {
162
162
namespace = 'mathml'
163
163
}
164
164
You can’t perform that action at this time.
0 commit comments