From 0a1d4067a8aa50a48898c7a67039f234a9f2c904 Mon Sep 17 00:00:00 2001 From: admin Date: Tue, 10 Dec 2024 09:22:02 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD?= =?UTF-8?q?=D0=B0=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=B0=20=D1=81=20png=20?= =?UTF-8?q?=D1=84=D0=B0=D0=B9=D0=BB=D0=B0=D0=BC=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/{typings/png.d.ts => @types/assets.d.ts} | 0 src/container/signup/index.tsx | 2 +- .../images => container/signup}/student-icon.png | Bin tsconfig.json | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename src/{typings/png.d.ts => @types/assets.d.ts} (100%) rename src/{assets/images => container/signup}/student-icon.png (100%) 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 },