Skip to content

Commit

Permalink
attempt to fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
CourtHive committed Jun 14, 2023
1 parent c758217 commit ae04278
Show file tree
Hide file tree
Showing 4 changed files with 297 additions and 290 deletions.
8 changes: 7 additions & 1 deletion package.json
Expand Up @@ -2,6 +2,9 @@
"name": "courthive-tmx",
"homepage": "/tmx",
"version": "2.0.0",
"engines": {
"node": ">= 16 <=16.13.1"
},
"keywords": [
"TODS",
"tournament",
Expand All @@ -11,12 +14,16 @@
],
"description": "CourtHive/TMX 2.0 is an open source tournament management application implemented in React.",
"dependencies": {
"@babel/core": "^7.22.5",
"@babel/plugin-syntax-flow": "^7.22.5",
"@babel/plugin-transform-react-jsx": "^7.22.5",
"@date-io/date-fns": "1.3.13",
"@hookform/resolvers": "2.9.7",
"@material-ui/core": "4.12.4",
"@material-ui/icons": "4.11.3",
"@material-ui/lab": "4.0.0-alpha.61",
"@material-ui/pickers": "3.3.10",
"@types/babel__traverse": "^7.20.1",
"@types/yup": "0.29.14",
"axios": "0.27.2",
"classnames": "2.3.1",
Expand Down Expand Up @@ -56,7 +63,6 @@
"source-map-explorer": "2.5.2",
"tods-competition-factory": "0.287.0",
"tods-react-draws": "0.2.0",
"tods-tmx-classic-converter": "1.8.0",
"tods-tournament-pdfs": "0.1.6",
"typeface-roboto": "1.1.13",
"wolfy87-eventemitter": "5.2.9",
Expand Down
4 changes: 1 addition & 3 deletions src/components/panels/infoPanel/tournamentActions.jsx
Expand Up @@ -15,7 +15,6 @@ import { Grid } from '@material-ui/core/';

import { deleteTournamentRecord } from 'services/storage/deleteTournamentRecord';
import { useStyles } from 'components/panels/infoPanel/style';
import { convertTMX2TODS } from 'tods-tmx-classic-converter';
import { env } from 'config/defaults';

export function TournamentActions(props) {
Expand Down Expand Up @@ -45,8 +44,7 @@ export function TournamentActions(props) {
}
function exportTODSTournamentRecord() {
const filename = `${tournamentId}.tods.json`;
const { tournamentRecord: TODS } = convertTMX2TODS({ tournament: tournamentRecord });
exportFx.downloadJSON(filename, TODS);
console.log({ filename });
}

function uploadTournamentRecord() {
Expand Down
File renamed without changes.

0 comments on commit ae04278

Please sign in to comment.