Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pull register from latest was Hongyok #20

Merged
merged 17 commits into from
Nov 23, 2024
Merged

pull register from latest was Hongyok #20

merged 17 commits into from
Nov 23, 2024

Conversation

satanakorn
Copy link
Collaborator

No description provided.

@satanakorn
Copy link
Collaborator Author

Hongyok Add profile connect with backend and modify hackathon and connect with backend

Copy link
Owner

@Celesca Celesca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix these changes and commit again.

<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React</title>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change title to Hack2gather

Comment on lines 8 to 10
useEffect(() => {
console.log('Hello World');
});
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove unused useEffect

@@ -0,0 +1,179 @@
// import { FaUser, FaLock } from "react-icons/fa";
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove unused imports


const getHackathon = async () => {
try {
const response = await Axios.get('http://localhost:3307/hackathon');
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use localhost:3000

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice to have : Try using the .env in frontend folder to store the apiUrl path to easier change in future.

For example :
const apiUrl = import.meta.env.BACKEND_URL;

@Celesca Celesca added bug Something isn't working enhancement New feature or request Not-ready and removed bug Something isn't working labels Nov 23, 2024
@Celesca Celesca assigned Celesca, satanakorn and Hongyok1908 and unassigned Celesca Nov 23, 2024
@Celesca Celesca self-requested a review November 23, 2024 13:11
@Celesca Celesca assigned Celesca and unassigned satanakorn and Hongyok1908 Nov 23, 2024
Copy link
Owner

@Celesca Celesca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Celesca Celesca merged commit 6cf4e92 into main Nov 23, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Not-ready
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants