Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
dutexion committed Feb 28, 2024
1 parent 0ce563a commit 7233968
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/user/src/apis/Main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { instance } from './axios';
import { instance } from './instance';

export const getProjects = async () => {
return await instance.get('/project/list');
Expand Down
2 changes: 1 addition & 1 deletion packages/user/src/apis/deploy.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { instance } from './axios';
import { instance } from './instance';
import { deployType } from '../types/projectType';
import { toast } from 'react-toastify';

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/user/src/apis/project.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { instance } from './axios';
import { instance } from './instance';
import { projectType } from '../types/projectType';
import { toast } from 'react-toastify';

Expand Down
2 changes: 1 addition & 1 deletion packages/user/src/apis/sign.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { instance } from './axios';
import { instance } from './instance';
import { signinType, signupType } from '../types/signType';
import { toast } from 'react-toastify';

Expand Down
2 changes: 1 addition & 1 deletion packages/user/src/apis/user.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { instance } from './axios';
import { instance } from './instance';

export const getUserInfo = async () => {
return await instance.get('/user/myInfo');
Expand Down
2 changes: 1 addition & 1 deletion packages/user/src/pages/Registration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { DeployFormFirst, DeployFormSecond } from '../components/Registration/Fo
import { deployType, projectType } from '../types/projectType';
import { dataWhiteSpace } from '../func/dataWhiteSpace';
// import { createProject } from '../apis/project';
import { instance } from '../apis/axios';
import { instance } from '../apis/instance';
import { handleImageChange, handleImagesChange } from '../func/handleImageChange';
import { toast } from 'react-toastify';
import { useLocation } from 'react-router-dom';
Expand Down
1 change: 1 addition & 0 deletions packages/user/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"noImplicitAny": false,
"types": ["vite-plugin-svgr/client", "vite/client"],
"baseUrl": "./src",
"paths": {
Expand Down

0 comments on commit 7233968

Please sign in to comment.