Skip to content

Commit

Permalink
fix: do not import directly from dist folder
Browse files Browse the repository at this point in the history
  • Loading branch information
andipaetzold committed Jan 17, 2025
1 parent 70dab9b commit cb7e06d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/features/contentful/ctf-image/CtfImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ImageFieldsFragment } from '@src/lib/__generated/sdk';

interface ImageProps extends ImageFieldsFragment {
imageProps?: Omit<NextImageProps, 'src' | 'alt'>;
livePreviewProps?: typeof ContentfulLivePreview.getProps;
livePreviewProps?: ReturnType<typeof ContentfulLivePreview.getProps>;
}

export const CtfImage = ({
Expand Down

0 comments on commit cb7e06d

Please sign in to comment.