Skip to content

Commit

Permalink
fix: make imagesList optional as it's from sanity
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-koran committed Mar 28, 2023
1 parent 8c5b564 commit efd7601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/MerchGeneral/merch-general.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const MerchGeneral: FC<MerchGeneralProps> = ({
<div className="absolute transform sm:left-1/2 sm:top-0 sm:translate-x-8 lg:left-1/2 lg:top-1/2 lg:-translate-y-1/2 lg:translate-x-8">
<div className="flex items-center space-x-6 lg:space-x-8">
<div className="grid flex-shrink-0 grid-cols-1 gap-y-6 lg:gap-y-8">
{imagesList.map(item => {
{imagesList?.map(item => {
const { caption } = item;

return (
Expand Down

0 comments on commit efd7601

Please sign in to comment.