diff --git a/apps/web/src/components/Shout/ShoutList/Shout/ReplyModal/ReplyModal.tsx b/apps/web/src/components/Shout/ShoutList/Shout/ReplyModal/ReplyModal.tsx index 9445eed1..85db528e 100644 --- a/apps/web/src/components/Shout/ShoutList/Shout/ReplyModal/ReplyModal.tsx +++ b/apps/web/src/components/Shout/ShoutList/Shout/ReplyModal/ReplyModal.tsx @@ -11,7 +11,7 @@ import { } from "baseui/modal"; import { Spinner } from "baseui/spinner"; import { Textarea } from "baseui/textarea"; -import { LabelMedium } from "baseui/typography"; +import { LabelMedium, LabelSmall } from "baseui/typography"; import { useAtomValue, useSetAtom } from "jotai"; import { useState } from "react"; import { Controller, useForm } from "react-hook-form"; @@ -19,6 +19,7 @@ import z from "zod"; import { profileAtom } from "../../../../../atoms/profile"; import { shoutsAtom } from "../../../../../atoms/shouts"; import useShout from "../../../../../hooks/useShout"; +import scrollToTop from "../../../../../lib/scrollToTop"; const ShoutSchema = z.object({ message: z.string().min(1).max(1000), @@ -238,10 +239,18 @@ function ReplyModal(props: ReplyModalProps) {