Fix dropdown filter bug and add save button animation

This commit is contained in:
n4ze3m
2024-02-25 23:45:07 +05:30
parent 094615498c
commit 03db4631d7
7 changed files with 272 additions and 85 deletions

View File

@@ -212,7 +212,7 @@ export const SidepanelForm = ({ dropedFile }: Props) => {
<Dropdown.Button
htmlType="submit"
disabled={
isSending || form.values.message.trim().length === 0
isSending
}
className="!justify-end !w-auto"
icon={
@@ -236,7 +236,7 @@ export const SidepanelForm = ({ dropedFile }: Props) => {
key: 1,
label: (
<Checkbox
value={sendWhenEnter}
checked={sendWhenEnter}
onChange={(e) =>
setSendWhenEnter(e.target.checked)
}>