change image upload
This commit is contained in:
parent
d4d9ec08eb
commit
ca1ce24a6d
@ -88,7 +88,6 @@ export default function RSVPButton({ event }: RSVPButtonProps) {
|
|||||||
|
|
||||||
if (!tickets) {
|
if (!tickets) {
|
||||||
if (rsvpEvent) {
|
if (rsvpEvent) {
|
||||||
console.log("rsvp", rsvpEvent);
|
|
||||||
const rsvpResponse = getTagValues("l", rsvpEvent.tags);
|
const rsvpResponse = getTagValues("l", rsvpEvent.tags);
|
||||||
return (
|
return (
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2">
|
||||||
|
@ -106,6 +106,7 @@ const useImageUpload = (folderName?: string) => {
|
|||||||
height="288"
|
height="288"
|
||||||
width="288"
|
width="288"
|
||||||
src={imagePreview}
|
src={imagePreview}
|
||||||
|
unoptimized
|
||||||
className={cn(
|
className={cn(
|
||||||
"bg-bckground h-full rounded-xl object-cover object-center max-sm:max-h-[100px]",
|
"bg-bckground h-full rounded-xl object-cover object-center max-sm:max-h-[100px]",
|
||||||
status === "uploading" && "grayscale",
|
status === "uploading" && "grayscale",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user