(postId: string)
| 522 | }, [currentId, showPane]); |
| 523 | |
| 524 | const focusRow = (postId: string) => |
| 525 | listRef.current |
| 526 | ?.querySelector<HTMLElement>(`[data-post-id="${postId}"]`) |
| 527 | ?.focus({ preventScroll: true }); |
| 528 | |
| 529 | const select = (post?: Post, { focus = true } = {}) => { |
| 530 | if (!post) { |