Skip to content

Commit

Permalink
[Hotfix] Alert for API Connection
Browse files Browse the repository at this point in the history
  • Loading branch information
jpark0506 committed Jun 16, 2024
1 parent 09ca5ca commit 54eae0b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/mainscreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ type Props = {}
const MainScreen = (props: Props) => {
useEffect (() => {
axiosAPI.get('/promotions').then((res) => {
alert('API Server Connected')
console.log(res);
}).catch((err) => {
console.log(err);})
Expand Down

0 comments on commit 54eae0b

Please sign in to comment.