-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[deploy] separate layouts and fix chat errors (#30)
- Loading branch information
Showing
40 changed files
with
1,478 additions
and
527 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { useEffect, useState } from 'react'; | ||
import { authAxios, defaultAxios } from 'apis/utils'; | ||
|
||
import { promiseWrapper } from 'apis/utils/promiseWrapper'; | ||
|
||
export const verifyOWNickname = async (nickname: string, battleTag: string) => { | ||
const response = await defaultAxios.get( | ||
`/api/overwatch/user/exist/${nickname}/${battleTag}`, | ||
); | ||
|
||
const exactNickname = response.data; | ||
|
||
return exactNickname; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import { useEffect, useState } from 'react'; | ||
import { authAxios, defaultAxios } from 'apis/utils'; | ||
|
||
import { promiseWrapper } from 'apis/utils/promiseWrapper'; | ||
|
||
export const verifyPUBGNickname = async ( | ||
nickname: string, | ||
platform: string, | ||
) => { | ||
const response = await defaultAxios.get( | ||
`/api/pubg/user/exist/${nickname}/${platform}`, | ||
); | ||
|
||
const exactNickname = response.data; | ||
|
||
return exactNickname; | ||
}; |
Oops, something went wrong.