refactor: convert forwardRef components to function components for consistency

This commit is contained in:
Dries Augustyns
2026-05-04 21:08:14 +02:00
parent ed9027b4ef
commit 361ec0b1eb
35 changed files with 869 additions and 889 deletions
@@ -76,7 +76,6 @@ export function EmailEditor({value, onChange, placeholder, subject, from, replyT
// Fetch contacts for preview using SWR
const {contacts} = useContacts({limit: 50});
// Update available variables when fields change
useEffect(() => {
if (availableFields.length > 0) {
setAvailableVariables(availableFields);