Skip to content

Commit

Permalink
*
Browse files Browse the repository at this point in the history
  • Loading branch information
imteekay committed Sep 3, 2023
1 parent db536f9 commit cdf733e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 21 deletions.
4 changes: 1 addition & 3 deletions Base/Article/Layout/Footer/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type FooterPropTypes = {
tags: Tag[];
};

const Footer: FC<FooterPropTypes> = ({ tags }) => (
export const Footer: FC<FooterPropTypes> = ({ tags }) => (
<>
<SubstackEmbed />

Expand All @@ -33,5 +33,3 @@ const Footer: FC<FooterPropTypes> = ({ tags }) => (
</div>
</>
);

export default Footer;
3 changes: 0 additions & 3 deletions Base/Article/Layout/Footer/Loadable.tsx

This file was deleted.

16 changes: 1 addition & 15 deletions Base/Article/Layout/Footer/index.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1 @@
import { FC } from 'react';

import FooterLoadable from './Loadable';
import { IntersectionObserver } from 'Base/components/IntersectionObserver';
import { Tag } from 'src/lib/getPostMetadata';

type FooterPropTypes = {
tags: Tag[];
};

export const Footer: FC<FooterPropTypes> = ({ tags }) => (
<IntersectionObserver>
<FooterLoadable tags={tags} />
</IntersectionObserver>
);
export { Footer } from './Footer';

0 comments on commit cdf733e

Please sign in to comment.