|
|
|
@ -1396,9 +1396,7 @@ function if_block(anchor_node, condition_fn, consequent_fn, alternate_fn) {
|
|
|
|
} else if (current_hydration_fragment !== null) {
|
|
|
|
} else if (current_hydration_fragment !== null) {
|
|
|
|
const comment_text = /** @type {Comment} */ (current_hydration_fragment?.[0])?.data;
|
|
|
|
const comment_text = /** @type {Comment} */ (current_hydration_fragment?.[0])?.data;
|
|
|
|
if (
|
|
|
|
if (
|
|
|
|
(!comment_text &&
|
|
|
|
!comment_text ||
|
|
|
|
// Can happen when a svelte:element that is turned into a void element has an if block inside
|
|
|
|
|
|
|
|
current_hydration_fragment[0] !== null) ||
|
|
|
|
|
|
|
|
(comment_text === 'ssr:if:true' && !result) ||
|
|
|
|
(comment_text === 'ssr:if:true' && !result) ||
|
|
|
|
(comment_text === 'ssr:if:false' && result)
|
|
|
|
(comment_text === 'ssr:if:false' && result)
|
|
|
|
) {
|
|
|
|
) {
|
|
|
|
|