chore: cleanup

This commit is contained in:
Adam
2026-02-20 10:54:12 -06:00
parent fe89bedfcc
commit c09d3dd5a7
2 changed files with 3 additions and 2 deletions

View File

@@ -37,10 +37,11 @@ function target(container: HTMLElement): Target | undefined {
const review = container.closest("[data-component='session-review']")
if (review instanceof HTMLElement) {
const root = scrollRoot(container) ?? review
const content = review.querySelector("[data-slot='session-review-container']")
return {
key: review,
root: review,
root,
content: content instanceof HTMLElement ? content : undefined,
}
}