mirror of https://github.com/pixelfed/pixelfed
Fix VueIntersect single-element warning in notifications section
The <intersect> in sections/Notifications.vue wrapped four <placeholder> elements directly. vue-intersect requires exactly one child (it checks $slots.default.length and observes $slots.default[0]), so it logged '[VueIntersect] You may only wrap one element in a <intersect> component.' and only observed the first placeholder. Wrap the placeholders in a single <div> so the slot has one root element.pull/6927/head
parent
511527fc5a
commit
b3be61c47c
Loading…
Reference in New Issue