mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-06-07 18:38:42 +00:00
feat(input-action-buttons): prevent form submit
This commit is contained in:
@ -4,7 +4,7 @@ import { Switch } from '@headlessui/react';
|
|||||||
|
|
||||||
export const Attach = () => {
|
export const Attach = () => {
|
||||||
return (
|
return (
|
||||||
<button className="p-2 text-white/50 rounded-xl hover:bg-[#1c1c1c] transition duration-200 hover:text-white">
|
<button type="button" className="p-2 text-white/50 rounded-xl hover:bg-[#1c1c1c] transition duration-200 hover:text-white">
|
||||||
<CopyPlus />
|
<CopyPlus />
|
||||||
</button>
|
</button>
|
||||||
);
|
);
|
||||||
@ -12,7 +12,7 @@ export const Attach = () => {
|
|||||||
|
|
||||||
export const Focus = () => {
|
export const Focus = () => {
|
||||||
return (
|
return (
|
||||||
<button className="p-2 text-white/50 rounded-xl hover:bg-[#1c1c1c] transition duration-200 hover:text-white">
|
<button type="button" className="p-2 text-white/50 rounded-xl hover:bg-[#1c1c1c] transition duration-200 hover:text-white">
|
||||||
<ScanEye />
|
<ScanEye />
|
||||||
</button>
|
</button>
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user