Skip to content

Conversation

@jenetic
Copy link
Contributor

@jenetic jenetic commented Oct 24, 2022

  • Just added set-up and barebones basic layout for now (there is not really any functionality)

@jenetic jenetic linked an issue Oct 24, 2022 that may be closed by this pull request
@StoneT2000 StoneT2000 changed the base branch from main to winter-competition November 2, 2022 21:32
@jenetic jenetic requested a review from StoneT2000 January 25, 2023 21:25
@@ -0,0 +1,22 @@
import { message } from 'antd';
Copy link
Member

Choose a reason for hiding this comment

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

i assume this shouldn't be called DELETE?

import { getToken } from '../utils/token';

const API =
'http://localhost:9000/v1/teams/TEST';
Copy link
Member

Choose a reason for hiding this comment

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

replace with env variable (.env)

import { getToken } from '../../../utils/token';

// Checks if user is registered in competition
export const getRegisteredState = (
Copy link
Member

Choose a reason for hiding this comment

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

all of this code should go in actions. Best to make a src/actions/teams folder.

@@ -0,0 +1,2 @@
REACT_APP_API="http://localhost:9000"
Copy link
Member

Choose a reason for hiding this comment

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

remove this file.

@StoneT2000 StoneT2000 merged commit 4a286bb into winter-competition Jan 27, 2023
@StoneT2000 StoneT2000 deleted the comp-team-page-main branch January 27, 2023 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Team Page for competitions

3 participants