mirror of
https://github.com/sveltejs/svelte.git
synced 2024-12-01 17:30:59 +01:00
remove redundant if statement
This commit is contained in:
parent
327a58128a
commit
d55e85dcdf
@ -174,9 +174,7 @@ export default class AwaitBlockWrapper extends Wrapper {
|
||||
block.builders.mount.addBlock(deindent`
|
||||
${info}.block.${hasTransitions ? 'i' : 'm'}(${initialMountNode}, ${info}.anchor = ${anchorNode});
|
||||
${info}.mount = () => ${updateMountNode};
|
||||
if (${info}.anchor == null) {
|
||||
${info}.anchor = ${anchor};
|
||||
}
|
||||
${info}.anchor = ${anchor};
|
||||
`);
|
||||
|
||||
const conditions = [];
|
||||
|
Loading…
Reference in New Issue
Block a user