diff --git a/scores-src/src/common/sports/index.ts b/scores-src/src/common/sports/index.ts index b386949..bec242f 100644 --- a/scores-src/src/common/sports/index.ts +++ b/scores-src/src/common/sports/index.ts @@ -70,6 +70,10 @@ import { typeInfo as octopushTypeInfo, components as octopushComponents, } from "./octopush"; +import { + typeInfo as rosesFencingTypeInfo, + components as rosesFencingComponents, +} from "./rosesFencing"; import { EventComponents, EventTypeInfo } from "../types"; export const EVENT_TYPES: Record< @@ -95,6 +99,7 @@ export const EVENT_TYPES: Record< swimming: swimmingTypeInfo, korfball: korfballTypeInfo, octopush: octopushTypeInfo, + rosesFencing: rosesFencingTypeInfo, }; // eslint-disable-next-line @typescript-eslint/no-explicit-any @@ -117,4 +122,5 @@ export const EVENT_COMPONENTS: Record> = { swimming: swimmingComponents, korfball: korfballComponents, octopush: octopushComponents, + rosesFencing: rosesFencingComponents, }; diff --git a/scores-src/src/common/sports/rosesFencing/index.tsx b/scores-src/src/common/sports/rosesFencing/index.tsx index 6ae7f6d..c3bf634 100644 --- a/scores-src/src/common/sports/rosesFencing/index.tsx +++ b/scores-src/src/common/sports/rosesFencing/index.tsx @@ -14,7 +14,7 @@ // //
// //

Add Points

// //

Current Score: {currentState.}

-// // meta.setState({ points: parseInt(e.target.value) })} @@ -26,7 +26,6 @@ // // export type State = ReturnType; // -// export { components, typeInfo }; import * as Yup from "yup"; import { clockTimeAt, formatMMSSMS } from "../../clock"; @@ -334,3 +333,5 @@ const components: EventComponents = { }, }, }; + +export { components, typeInfo };