diff --git a/client/homebrew/pages/editPage/editPage.jsx b/client/homebrew/pages/editPage/editPage.jsx
index 00b88346f..20ef1f006 100644
--- a/client/homebrew/pages/editPage/editPage.jsx
+++ b/client/homebrew/pages/editPage/editPage.jsx
@@ -42,7 +42,7 @@ const EditPage = (props) => {
brew: DEFAULT_BREW_LOAD,
...props
};
- const editor = useRef(null);
+ const editorRef = useRef(null);
const savedBrew = useRef(_.cloneDeep(props.brew));
const warningTimer = useRef(null);
@@ -107,7 +107,7 @@ const EditPage = (props) => {
};
const handleSplitMove = () => {
- editor.current?.update();
+ editorRef.current?.update();
};
const handleEditorViewPageChange = (pageNumber) => {
@@ -371,24 +371,23 @@ const EditPage = (props) => {
setIsSaving(false);
};
- renderNavbar : function(){
- const shareLink = this.processShareId();
+ const renderNavbar = ()=>{
+ const shareLink = processShareId();
return