diff --git a/packages/svelte/src/internal/client/block.js b/packages/svelte/src/internal/client/block.js index aa6f3fbd42..d5dfc0b547 100644 --- a/packages/svelte/src/internal/client/block.js +++ b/packages/svelte/src/internal/client/block.js @@ -7,27 +7,6 @@ import { } from './constants.js'; import { current_block } from './runtime.js'; -/** - * @param {boolean} intro - * @returns {import('./types.js').RootBlock} - */ -export function create_root_block(intro) { - return { - // dom - d: null, - // effect - e: null, - // intro - i: intro, - // parent - p: null, - // transition - r: null, - // type - t: ROOT_BLOCK - }; -} - /** @returns {import('./types.js').HeadBlock} */ export function create_head_block() { return { diff --git a/packages/svelte/src/internal/client/render.js b/packages/svelte/src/internal/client/render.js index 2c218adc67..2d1a9b331d 100644 --- a/packages/svelte/src/internal/client/render.js +++ b/packages/svelte/src/internal/client/render.js @@ -10,12 +10,7 @@ import { map_set, set_class_name } from './operations.js'; -import { - create_root_block, - create_dynamic_element_block, - create_head_block, - create_snippet_block -} from './block.js'; +import { create_dynamic_element_block, create_head_block, create_snippet_block } from './block.js'; import { PassiveDelegatedEvents, DelegatedEvents,