diff --git a/apps/app/next.config.js b/apps/app/next.config.js
index c2578b0..7386dc3 100644
--- a/apps/app/next.config.js
+++ b/apps/app/next.config.js
@@ -3,15 +3,26 @@ const nextConfig = {
reactStrictMode: true,
transpilePackages: ['ui'],
experimental: {
- // appDir: true,
+ optimizePackageImports: [
+ 'react-icons/*',
+ '@hookform/resolvers',
+ '@reach/combobox',
+ '@react-google-maps/api',
+ 'date-fns',
+ 'firebase',
+ 'lodash',
+ 'react-firebase-hooks',
+ 'react-hook-form',
+ 'react-spinners',
+ 'recoil',
+ 'server-only',
+ 'ui',
+ 'use-places-autocomplete',
+ 'usehooks-ts',
+ 'yup',
+ ],
},
images: {
- // domains: [
- // 'firebasestorage.googleapis.com',
- // 'lh3.googleusercontent.com',
- // 'localhost',
- // 'storage.cloud.google.com',
- // ],
remotePatterns: [
{
protocol: 'http',
@@ -28,7 +39,7 @@ const nextConfig = {
{
protocol: 'https',
hostname: 'storage.cloud.google.com',
- }
+ },
],
},
};
diff --git a/apps/app/src/app/(combo)/(checksidebar)/LayoutProvider.tsx b/apps/app/src/app/(combo)/(checksidebar)/LayoutProvider.tsx
index e0415f2..cbbc430 100644
--- a/apps/app/src/app/(combo)/(checksidebar)/LayoutProvider.tsx
+++ b/apps/app/src/app/(combo)/(checksidebar)/LayoutProvider.tsx
@@ -3,7 +3,6 @@
import React from 'react';
import { useAuthState } from 'react-firebase-hooks/auth';
-import { Sidebar } from '__components/Sidebar/Sidebar';
import { LoaderSpinner } from '__components/ui/LoaderSpinner';
import { auth } from '__firebase/clientApp';
import { PageWithAuthCard } from '__components/PageWithAuthCard';
diff --git a/apps/app/src/app/(protected)/events/components/Event.tsx b/apps/app/src/app/(protected)/events/components/Event.tsx
index 76fa92e..1d3b1cf 100644
--- a/apps/app/src/app/(protected)/events/components/Event.tsx
+++ b/apps/app/src/app/(protected)/events/components/Event.tsx
@@ -5,6 +5,8 @@ import { GoogleMap, Marker, useLoadScript } from '@react-google-maps/api';
import Image from 'next/image';
import { BiPurchaseTag } from 'react-icons/bi';
import { BiEdit, BiTrash, BiBookmark, BiBookmarkHeart } from 'react-icons/bi';
+import { EventTag } from 'ui';
+// import { EventTag } from 'ui';
type MapOptions = google.maps.MapOptions;
@@ -56,18 +58,22 @@ const Event = ({ event }: any) => {
{event.event_header}!
-
-
- {event.event_type}
+
+
- {event.event_name},{' '}
+ {event.event_name ? (
+ <>
+ {event.event_name},{' '}
+ >
+ ) : null}
{location.name}
+
Organizor: {event.creatorUid}
{event.description}
{location.address}
diff --git a/apps/app/src/app/(protected)/events/create/form/index.tsx b/apps/app/src/app/(protected)/events/create/form/index.tsx
index 1a36794..2dedada 100644
--- a/apps/app/src/app/(protected)/events/create/form/index.tsx
+++ b/apps/app/src/app/(protected)/events/create/form/index.tsx
@@ -121,7 +121,7 @@ export const CreateEventForm = () => {
))}
-
+
{process.env.NODE_ENV === 'development' && (