Skip to content

Commit

Permalink
fix(client): All IndexPage from js->ts now
Browse files Browse the repository at this point in the history
fixing #109
  • Loading branch information
roman-ojha committed Jun 28, 2022
1 parent 8aefca6 commit 3078efb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
Expand Up @@ -2,7 +2,7 @@ import React from "react";
import AppIcon from "../../assets/icons/Social_Icon.ico";
import constant from "../../constant/constant";

const LoadingScreen = () => {
const LoadingScreen = (): JSX.Element => {
return (
<>
<div className="LoadingScreen_Page_Container">
Expand Down
Expand Up @@ -6,7 +6,7 @@ import CommentBox from "../CommentBox";
import ProgressBar from "../ProgressBar";
import RoutingUserPage from "../../routes/RoutingUserPage";

const ReturnMainPage = () => {
const ReturnMainPage = (): JSX.Element => {
return (
<>
<ProgressBar />
Expand Down
5 changes: 5 additions & 0 deletions client/src/types/custom.d.ts
Expand Up @@ -7,3 +7,8 @@ declare module "*.png" {
const content: any;
export default content;
}

declare module "*.ico" {
const content: any;
export default content;
}

0 comments on commit 3078efb

Please sign in to comment.