Skip to content

Commit a185f14

Browse files
refactor(src): constfunction
1 parent ceba926 commit a185f14

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+42
-57
lines changed

src/components/layouts/blog-entry.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { FunctionComponent, PropsWithChildren } from 'react';
1+
import { PropsWithChildren } from 'react';
22

33
import { Routes } from 'config/constants';
44

src/components/layouts/mdx-entry.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { usePathname } from 'next/navigation';
2-
import { FunctionComponent, PropsWithChildren } from 'react';
2+
import { PropsWithChildren } from 'react';
33

44
import { MDXEntry } from 'services/content/markdown';
55

src/components/pages/about/customer-portfolio.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { motion } from 'framer-motion';
22
import Image from 'next/image';
3-
import { FunctionComponent } from 'react';
43

54
// ---------------------------------------------------------------------------
65
// TYPES

src/components/pages/about/inventory.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { FunctionComponent, useId } from 'react';
1+
import { useId } from 'react';
22

33
import Typography from 'components/shared/typography';
44

src/components/pages/posts/all-posts-section-item-skeleton.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { useTheme } from 'next-themes';
2-
import { FunctionComponent, PropsWithChildren } from 'react';
32
import ContentLoader from 'react-content-loader';
43
import colors from 'tailwindcss/colors';
54

src/components/pages/posts/all-posts-section-item.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { FunctionComponent, PropsWithChildren } from 'react';
1+
import { PropsWithChildren } from 'react';
22

33
import { Routes } from 'config/constants';
44

src/components/pages/posts/all-posts-section-skeleton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { FunctionComponent, PropsWithChildren, useMemo } from 'react';
1+
import { PropsWithChildren, useMemo } from 'react';
22

33
import SectionContainer from 'components/shared/section-container';
44

src/components/pages/talk/events-section-item.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { FunctionComponent, PropsWithChildren } from 'react';
1+
import { PropsWithChildren } from 'react';
22
import { BsFillCalendarEventFill } from 'react-icons/bs';
33
import { CgWebsite } from 'react-icons/cg';
44
import { FaMapMarkedAlt, FaSpeakerDeck, FaYoutube } from 'react-icons/fa';

src/components/pages/talk/events-section.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { FunctionComponent, PropsWithChildren } from 'react';
1+
import { PropsWithChildren } from 'react';
22

33
import SectionContainer from 'components/shared/section-container';
44
import SectionHeading from 'components/shared/section-heading';

src/components/pages/talks-radar/list-section.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
getSortedRowModel,
99
useReactTable,
1010
} from '@tanstack/react-table';
11-
import { FunctionComponent, PropsWithChildren, useState } from 'react';
11+
import { PropsWithChildren, useState } from 'react';
1212
import { BiSort } from 'react-icons/bi';
1313

1414
import {

0 commit comments

Comments
 (0)