Skip to content

Commit a536fcc

Browse files
committed
fix types
1 parent 71647b8 commit a536fcc

33 files changed

+35
-11
lines changed

src/components/Footer.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
2626
*/
2727

28+
import type {JSX} from 'react';
2829
import React from 'react';
2930

3031
// @mui material components

src/components/Header.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
import type {JSX} from 'react';
1617
import React from 'react';
1718

1819
import type { SvgIcon } from '@mui/material';

src/components/Layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
import type { PropsWithChildren } from 'react';
17+
import type {PropsWithChildren, JSX} from 'react';
1818
import React, { useEffect } from 'react';
1919

2020
import { CssBaseline, ThemeProvider } from '@mui/material';

src/components/PageWithPosts.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
import type {JSX} from "react";
1617
import * as React from 'react';
1718

1819
import type { PostContent, FooterContent, HeaderContent } from '../components';

src/components/PostContainer.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17+
import type {JSX} from 'react';
1718
import React from 'react';
1819

1920
import { Box, Container, Grid } from '@mui/material';

src/components/SEO.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
import type { PropsWithChildren } from 'react';
16+
import type {PropsWithChildren, JSX} from 'react';
1717
import React from 'react';
1818

1919
import { ThemeProvider } from '@mui/material';

src/components/SocialLink.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17+
import type {JSX} from 'react';
1718
import React from 'react';
1819

1920
import type { LinkProps } from '@mui/material';

src/components/description/DescriptionPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
import type { FC } from 'react';
16+
import type {FC, JSX} from 'react';
1717
import React from 'react';
1818

1919
import { Box } from '@mui/material';

src/components/description/MDXPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
import type { FC } from 'react';
16+
import type {FC, JSX} from 'react';
1717
import React from 'react';
1818

1919
import { Box, Typography } from '@mui/material';

src/components/material-kit/Card/LibraryCard.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Coded by www.creative-tim.com
2828
2929
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
3030
*/
31+
import type {JSX} from 'react';
3132
import React from 'react';
3233

3334
// @mui material components

0 commit comments

Comments
 (0)