diff --git a/client/src/components/NewMessage.tsx b/client/src/components/NewMessage.tsx
index 7fcbbc6..9120b02 100644
--- a/client/src/components/NewMessage.tsx
+++ b/client/src/components/NewMessage.tsx
@@ -36,10 +36,10 @@ const NewMessage = () => {
>
{
id="image"
accept="image/*"
className="hidden"
- value={image}
+ {...(image !== '' && { value: image })}
onChange={(e) => setImage(e.target.value)}
/>
diff --git a/client/src/components/ScrollToBottom.tsx b/client/src/components/ScrollToBottom.tsx
index 4b99e82..d6e3caf 100644
--- a/client/src/components/ScrollToBottom.tsx
+++ b/client/src/components/ScrollToBottom.tsx
@@ -40,9 +40,9 @@ const ScrollToBottom = ({ children, className = '' }: { children: ReactNode; cla
className={'absolute right-3 ' + (show ? 'animate-show bottom-3 block' : 'animate-hide hidden bottom-0 -mb-10')}
value="Scroll to bottom"
>
-
+
-
+
>
);