Skip to content

Commit

Permalink
Fix disabled translation fields on page refresh (#4995)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloud11PL committed Jun 26, 2024
1 parent d9b0b55 commit 6875e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/richText/useRichText.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function useRichText({
} catch (e) {
return undefined;
}
}, [initial]);
}, [initial, loading]);

return {
editorRef,
Expand Down

0 comments on commit 6875e0f

Please sign in to comment.