Skip to content

Commit db28750

Browse files
committed
removed logging
1 parent 2f68f1c commit db28750

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

client/src/AdminPanel/adminChallengeEdit.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ const CreateChallengeForm = (props) => {
250250

251251
<div style={{ display: "flex", flexDirection: "column", justifyContent: "center", alignContent: "center" }}>
252252

253-
<Card>
253+
<Card className="settings-card">
254254
<h1>Challenge Points:</h1>
255255
<Form.Item
256256
name="points"
@@ -265,7 +265,7 @@ const CreateChallengeForm = (props) => {
265265
</Form.Item>
266266
</Card>
267267

268-
<Card>
268+
<Card className="settings-card">
269269
<h1>Maximum Number of Attempts (Set to 0 for unlimited)</h1>
270270
<Form.Item
271271
name="max_attempts"
@@ -289,7 +289,7 @@ const CreateChallengeForm = (props) => {
289289
{(fields, { add, remove }) => {
290290

291291
return (
292-
<Card>
292+
<Card className="settings-card">
293293
<h1>Flags</h1>
294294
{fields.map(field => (
295295
<Space key={field.key} style={{ display: 'flex', marginBottom: 8 }} align="start">
@@ -337,7 +337,7 @@ const CreateChallengeForm = (props) => {
337337
<Form.List name="tags">
338338
{(fields, { add, remove }) => {
339339
return (
340-
<Card>
340+
<Card className="settings-card">
341341
<h1>Tags</h1>
342342
{fields.map(field => (
343343
<Space key={field.key} style={{ display: 'flex', marginBottom: 8 }} align="start">
@@ -388,7 +388,7 @@ const CreateChallengeForm = (props) => {
388388
<Form.List name="hints" >
389389
{(fields, { add, remove }) => {
390390
return (
391-
<Card>
391+
<Card className="settings-card">
392392
<h1>Hints</h1>
393393
{fields.map(field => (
394394
<Space key={field.key} style={{ display: 'flex', marginBottom: 8 }} align="start">
@@ -439,7 +439,7 @@ const CreateChallengeForm = (props) => {
439439
}}
440440
</Form.List>
441441

442-
<Card>
442+
<Card className="settings-card">
443443
<h1>Writeup Link (Optional)</h1>
444444
<Form.Item
445445
name="writeup"
@@ -462,7 +462,7 @@ const CreateChallengeForm = (props) => {
462462
</div>
463463
</Card>
464464

465-
<Card>
465+
<Card className="settings-card">
466466
<h1>Visibility</h1>
467467
<Form.Item
468468
name="visibility"
@@ -502,7 +502,7 @@ const CreateChallengeForm = (props) => {
502502
<p>Locks this challenge until the provided challenge above has been solved.</p>
503503
</Card>
504504

505-
<Card>
505+
<Card className="settings-card">
506506
<h1>Dynamic Scoring</h1>
507507
<Form.Item
508508
name="dynamic"

client/src/Challenges/challenges.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,6 @@ class Challenges extends React.Component {
174174
for (let i = 0; i < originalData.length; i++) {
175175
originalDataDictionary[originalData[i]._id] = originalData[i].challenges
176176
}
177-
console.log(originalDataDictionary)
178-
console.log(categoryMetaInfo)
179177
this.setState({ categories: categoryMetaInfo, originalData: originalDataDictionary, loadingChall: false })
180178
let categoryChall = this.props.match.params.categoryChall;
181179
const mongoID = /^[a-f\d]{24}$/i

client/src/SidebarDropdown/Teams.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ class Teams extends React.Component {
117117
this.getCodeDetails(code)
118118
}
119119
else {
120-
console.log(this.props.team)
121120
const team = this.props.match.params.team
122121
if (typeof team !== "undefined") { // User is viewing another team
123122
this.loadTeamDetails(team)

0 commit comments

Comments
 (0)