File tree 2 files changed +3
-7
lines changed
packages/runtime-core/src
2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -315,9 +315,7 @@ export function createAppAPI<HostElement>(
315
315
316
316
if ( namespace === true ) {
317
317
namespace = 'svg'
318
- }
319
-
320
- else if ( namespace === false ) {
318
+ } else if ( namespace === false ) {
321
319
namespace = undefined
322
320
}
323
321
Original file line number Diff line number Diff line change @@ -115,8 +115,7 @@ export const TeleportImpl = {
115
115
// #2652 we could be teleporting from a non-SVG tree into an SVG tree
116
116
if ( namespace === 'svg' || isTargetSVG ( target ) ) {
117
117
namespace = 'svg'
118
- }
119
- else if ( namespace === 'mathml' || isTargetMathML ( target ) ) {
118
+ } else if ( namespace === 'mathml' || isTargetMathML ( target ) ) {
120
119
namespace = 'mathml'
121
120
}
122
121
} else if ( __DEV__ && ! disabled ) {
@@ -157,8 +156,7 @@ export const TeleportImpl = {
157
156
158
157
if ( namespace === 'svg' || isTargetSVG ( target ) ) {
159
158
namespace = 'svg'
160
- }
161
- else if ( namespace === 'mathml' || isTargetMathML ( target ) ) {
159
+ } else if ( namespace === 'mathml' || isTargetMathML ( target ) ) {
162
160
namespace = 'mathml'
163
161
}
164
162
You can’t perform that action at this time.
0 commit comments