From e98880a38ca61b13728a110442421989b026c930 Mon Sep 17 00:00:00 2001 From: Jake Wheeler Date: Wed, 27 Nov 2024 11:41:24 -0500 Subject: [PATCH] use arrow functions --- src/app/case-studies/_ui/index.tsx | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/app/case-studies/_ui/index.tsx b/src/app/case-studies/_ui/index.tsx index 937e7db..62922bf 100644 --- a/src/app/case-studies/_ui/index.tsx +++ b/src/app/case-studies/_ui/index.tsx @@ -5,27 +5,27 @@ interface ContainerProps { children: React.ReactNode; } -function PageContainer({ children }: ContainerProps) { +const PageContainer = ({ children }: ContainerProps) => { return (
{children}
); -} +}; -function ContentContainer({ children }: ContainerProps) { +const ContentContainer = ({ children }: ContainerProps) => { return (
{children}
); -} +}; -function SectionContentContainer({ children }: ContainerProps) { +const SectionContentContainer = ({ children }: ContainerProps) => { return
{children}
; -} +}; -function ReturnToCaseStudiesLink() { +const ReturnToCaseStudiesLink = () => { return ( ); -} +}; -function Text({ children }: ContainerProps) { +const Text = ({ children }: ContainerProps) => { return

{children}

; -} +}; -function UnorderedList({ children }: ContainerProps) { +const UnorderedList = ({ children }: ContainerProps) => { return ( ); -} +}; -function ReadMore({ href, linkText }: { href: string; linkText: string }) { +const ReadMore = ({ href, linkText }: { href: string; linkText: string }) => { return ( <>

Read more about our work

@@ -62,7 +62,7 @@ function ReadMore({ href, linkText }: { href: string; linkText: string }) { ); -} +}; export { ContentContainer,