Skip to content

Commit

Permalink
fix: Resolve import paths
Browse files Browse the repository at this point in the history
  • Loading branch information
tbreeze-zengenti committed Jan 24, 2024
1 parent 47d9e63 commit cc268cc
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/app/components/canvas/blocks/link/link.block.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
Link,
} from '@contensis/canvas-react';
import getAttributes from '~/components/canvas/utilities/getAttributes';
import { PageLinkStyled } from './Link.styled';
import { PageLinkStyled } from './link.styled';

const LinkBlock = (props: RenderBlockPropsWithChildren<LinkBlockProps>) => {
const linkValue = props?.block?.properties?.link;
Expand Down
5 changes: 3 additions & 2 deletions src/app/components/canvas/blocks/markup/Markup.block.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
import React from 'react';
import MarkupBlockStyled from './Markup.styled';
import VideoBlock from '../video/Video.block';
import {
ParagraphBlock as ParagraphBlockProps,
HeadingBlock as HeadingBlockProps,
InlineEntryBlock as InlineEntryblockProps,
FragmentBlock as FragmentBlockProps,
RenderBlockProps,
} from '@contensis/canvas-react';
import LinkBlock from '../link/Link.block';

import VideoBlock from '~/components/canvas/blocks/video/Video.block';
import LinkBlock from '~/components/canvas/blocks/link/link.block';

type MarkupBlockProps =
| ParagraphBlockProps
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/canvas/blocks/quote/quote.block.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
QuoteBlock as QuoteBlockProps,
RenderBlockProps,
} from '@contensis/canvas-react';
import { QuoteWrapperStyled, SeperatorStyled } from './Quote.styled';
import { QuoteWrapperStyled, SeperatorStyled } from './quote.styled';

const QuoteBlock = ({ block }: RenderBlockProps<QuoteBlockProps>) => {
const { value, properties } = block;
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/canvas/canvas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import Region from '~/layout/Region';

import MarkupBlock from './blocks/markup/Markup.block';
import ImageCanvasBlock from './blocks/image/Image.block';
import QuoteBlock from './blocks/quote/Quote.block';
import QuoteBlock from './blocks/quote/quote.block';
import PanelBlock from './blocks/panel/Panel.block';
import FeaturedProductComponent from '~/components/canvas/components/featuredProduct/featuredProduct';
import FeaturedRow from './components/featuredRow/FeaturedRow';
Expand Down
2 changes: 1 addition & 1 deletion src/app/dynamic/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const Image = loadable<RenderBlockProps<ImageBlock>>(
export const Quote = loadable<RenderBlockProps<QuoteBlock>>(
() =>
import(
/* webpackChunkName: "quote.component" */ '~/components/canvas/blocks/quote/Quote.block'
/* webpackChunkName: "quote.component" */ '~/components/canvas/blocks/quote/quote.block'
)
);

Expand Down

0 comments on commit cc268cc

Please sign in to comment.