diff --git a/webapp/channels/src/components/common/hooks/use_scroll_on_render.ts b/webapp/channels/src/components/common/hooks/use_scroll_on_render.ts index 3109de4b20..84dc9bc1ff 100644 --- a/webapp/channels/src/components/common/hooks/use_scroll_on_render.ts +++ b/webapp/channels/src/components/common/hooks/use_scroll_on_render.ts @@ -6,7 +6,7 @@ import React from 'react'; // useScrollOnRender hook is used to scroll to the element when it is rendered // Attach the returned ref to the element you want to scroll to. export function useScrollOnRender() { - const ref = React.useRef(null); + const ref = React.useRef(null); React.useEffect(() => { if (ref.current) { diff --git a/webapp/channels/src/components/drafts/draft_actions/__snapshots__/action.test.tsx.snap b/webapp/channels/src/components/drafts/draft_actions/__snapshots__/action.test.tsx.snap index 3d33920ffb..b842937939 100644 --- a/webapp/channels/src/components/drafts/draft_actions/__snapshots__/action.test.tsx.snap +++ b/webapp/channels/src/components/drafts/draft_actions/__snapshots__/action.test.tsx.snap @@ -8,6 +8,7 @@ exports[`components/drafts/draft_actions/action should match snapshot 1`] = ` title="" >