Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit ba55fae

Browse files
committed
jump-indices-ts
1 parent 72504c6 commit ba55fae

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

src/pages/landing/jump-indices/_dBanner.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { ReactElement } from 'react'
1+
import React from 'react'
22
import styled from 'styled-components'
33
import { SectionContainer, Flex } from 'components/containers'
44
import { Header } from 'components/elements'
@@ -20,7 +20,7 @@ const StyledHeader = styled(Header)`
2020
}
2121
`
2222

23-
const DBanner = (): ReactElement => {
23+
const DBanner = () => {
2424
return (
2525
<SectionWrapper>
2626
<Flex>

src/pages/landing/jump-indices/_dHero.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { createRef, useEffect, ReactElement } from 'react'
1+
import React, { createRef, useEffect } from 'react'
22
import lottie from 'lottie-web'
33
import styled from 'styled-components'
44
import { Container, Flex } from 'components/containers'
@@ -122,7 +122,7 @@ const StyledAnimationWrapper = styled(Flex)`
122122
}
123123
`
124124

125-
const DHero = (): ReactElement => {
125+
const DHero = () => {
126126
const animation_container = createRef<HTMLElement>()
127127
useEffect(() => {
128128
const anim = lottie.loadAnimation({

src/pages/landing/jump-indices/_jumpSection.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { ReactElement } from 'react'
1+
import React from 'react'
22
import styled from 'styled-components'
33
import { Flex } from 'components/containers'
44
import { Header } from 'components/elements'
@@ -82,7 +82,7 @@ const ImgDiv = styled.img`
8282
}
8383
`
8484

85-
const JumpSection = (): ReactElement => {
85+
const JumpSection = () => {
8686
return (
8787
<MainWrapper>
8888
<ParentWrapper>

src/pages/landing/jump-indices/_leverages.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { ReactElement } from 'react'
1+
import React from 'react'
22
import styled from 'styled-components'
33
import { Flex } from 'components/containers'
44
import { Header } from 'components/elements'
@@ -102,7 +102,7 @@ const content: ContentType[] = [
102102
),
103103
},
104104
]
105-
const Leverages = (): ReactElement => {
105+
const Leverages = () => {
106106
return (
107107
<MainWrapper>
108108
<ParentWrapper>

src/pages/landing/jump-indices/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { ReactElement } from 'react'
1+
import React from 'react'
22
import DHero from './_dHero'
33
import DBanner from './_dBanner'
44
import JumpSection from './_jumpSection'
@@ -7,7 +7,7 @@ import { SEO } from 'components/containers'
77
import Layout from 'components/layout/layout'
88
import { localize, WithIntl } from 'components/localization'
99

10-
const JumpIndices = (): ReactElement => {
10+
const JumpIndices = () => {
1111
return (
1212
<Layout type="jump-indices">
1313
<SEO

0 commit comments

Comments
 (0)