diff --git a/src/typings/png.d.ts b/src/@types/assets.d.ts similarity index 100% rename from src/typings/png.d.ts rename to src/@types/assets.d.ts diff --git a/src/container/signup/index.tsx b/src/container/signup/index.tsx index 7fd2ae9..f2aead8 100644 --- a/src/container/signup/index.tsx +++ b/src/container/signup/index.tsx @@ -9,7 +9,7 @@ import Typography from '@mui/material/Typography'; import Container from '@mui/material/Container'; import { createTheme, ThemeProvider } from '@mui/material/styles'; import axios from 'axios'; -import student_icon from '../../assets/images/student-icon.png'; +import student_icon from './student-icon.png'; import "./index.css"; //import useTelegram from "../hooks/useTelegram"; import Select from 'react-select'; diff --git a/src/assets/images/student-icon.png b/src/container/signup/student-icon.png similarity index 100% rename from src/assets/images/student-icon.png rename to src/container/signup/student-icon.png diff --git a/tsconfig.json b/tsconfig.json index 7bf2474..0f70e7e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -12,7 +12,7 @@ "moduleResolution": "node", "target": "es6", "jsx": "react", - "typeRoots": ["node_modules/@types", "src/typings"], + "typeRoots": ["node_modules/@types", "src/@types"], "types" : ["webpack-env", "node"], "resolveJsonModule": true },