Skip to content

Commit

Permalink
added todo for the firebase upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Gehrkej committed Mar 14, 2024
1 parent cc6a6d7 commit 792d67c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/segments/drill/[id]/submission/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ import Description from "./modals/description";
* Firebase Upload
***************************************/

//TODO: Implement function to upload the outputData to the attempts collection

/***************************************
* AttemptShots Generation
***************************************/
Expand Down Expand Up @@ -416,7 +418,7 @@ export default function Input({ drillInfo, setToggleResult, setOutputData }) {
<Appbar.Action
icon="information-outline"
onPress={() => {
descriptionModalRef.current?.present();
descriptionModalRef.current ?.present();
}}
color={"#F24E1E"}
/>
Expand Down Expand Up @@ -466,7 +468,7 @@ export default function Input({ drillInfo, setToggleResult, setOutputData }) {
icon={getIconByKey(item.id)}
prompt={item.prompt}
distanceMeasure={item.distanceMeasure}
inputValue={inputValues[displayedShot]?.[item.id] || ""}
inputValue={inputValues[displayedShot] ?.[item.id] || ""}
onInputChange={(newText) => {
handleInputChange(item.id, newText);
}}
Expand Down Expand Up @@ -571,7 +573,7 @@ export default function Input({ drillInfo, setToggleResult, setOutputData }) {
<Text
style={{ color: "#F3572A" }}
onPress={() => {
navModalRef.current?.present();
navModalRef.current ?.present();
}}
>
View all shots
Expand Down

0 comments on commit 792d67c

Please sign in to comment.