diff --git a/src/app/(main)/my-voyage/[teamId]/voyage-resources/components/ResourceInput.tsx b/src/app/(main)/my-voyage/[teamId]/voyage-resources/components/ResourceInput.tsx index 242cfc30..586f4fbc 100644 --- a/src/app/(main)/my-voyage/[teamId]/voyage-resources/components/ResourceInput.tsx +++ b/src/app/(main)/my-voyage/[teamId]/voyage-resources/components/ResourceInput.tsx @@ -70,16 +70,12 @@ export default function ResourceInput() { className="flex w-full items-center rounded-xl bg-base-200 p-1 shadow-lg" onSubmit={handleSubmit(onSubmit)} > -
+
} /> @@ -87,6 +83,7 @@ export default function ResourceInput() { id="title" placeholder="Name your resource here." ariaLabel="resource name" + errorMessage={errors.title?.message} {...register("title")} />
diff --git a/src/app/(main)/my-voyage/[teamId]/voyage-resources/components/ResourcesContainer.tsx b/src/app/(main)/my-voyage/[teamId]/voyage-resources/components/ResourcesContainer.tsx index 78e3632d..b8a4cb1d 100644 --- a/src/app/(main)/my-voyage/[teamId]/voyage-resources/components/ResourcesContainer.tsx +++ b/src/app/(main)/my-voyage/[teamId]/voyage-resources/components/ResourcesContainer.tsx @@ -49,21 +49,23 @@ export default function ResourcesContainer({ data }: ResourceContainerProps) { isDisabled={!voyageResources?.length} />
- {formattedResources?.length ? ( - formattedResources.map((item) => ( - - )) - ) : ( - - )} +
+ {formattedResources?.length ? ( + formattedResources.map((item) => ( + + )) + ) : ( + + )} +
); }