2a81849c8df4b44b514f44bd7122fcc5e1c71548
Fixed React hooks rules violation where useState and useCallback were called after a conditional return in BoardView. Removed unused attachmentMode prop from AttachmentSection (can be re-added when file dialog is wired up).
Description