misc: display wish feature only on cloud

This commit is contained in:
Sheen Capadngan
2024-07-05 19:42:38 +08:00
parent da0d8fdbfc
commit 1a6a5280a0
2 changed files with 6 additions and 7 deletions
@@ -71,7 +71,9 @@ export const WishForm = () => {
</PopoverTrigger>
<PopoverContent
hideCloseBtn
className="ml-2 mb-2 w-auto border border-mineshaft-600 bg-mineshaft-900 p-4 drop-shadow-2xl"
align="start"
alignOffset={25}
className="mb-1 w-auto border border-mineshaft-600 bg-mineshaft-900 p-4 drop-shadow-2xl"
sticky="always"
>
<form onSubmit={handleSubmit(createWish)}>
@@ -91,7 +93,7 @@ export const WishForm = () => {
/>
</FormControl>
<div className="mt-2 flex justify-between border-t border-mineshaft-500 pt-4">
<PopoverPrimitive.Close>
<PopoverPrimitive.Close asChild>
<Button className="mr-2 w-min" colorSchema="secondary">
Cancel
</Button>