feat(input-action-buttons): prevent form submit
This commit is contained in:
parent
418cea8316
commit
32aaf46ee4
|
@ -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>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue