Skip to content

Commit

Permalink
fix: small typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud AMBROSELLI committed May 12, 2022
1 parent e48a2ff commit ed1a0e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/scenes/Gains/MyGains.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import OnBoardingGain from './OnBoardingGain';
import { getDaysForFeed, getDailyDoses, getDrinksState } from '../ConsoFollowUp/consoDuck';
import { daysWithGoalNoDrinkState, maxDrinksPerWeekSelector } from './recoil';


const MyGains = ({ days, dailyDoses }) => {
const navigation = useNavigation();

Expand All @@ -31,7 +30,7 @@ const MyGains = ({ days, dailyDoses }) => {
};

const beginDate = '3 avril';
const beginDay = 'mercredi';
const beginDay = 'lundi';

const maxDrinksPerWeekGoal = useRecoilValue(maxDrinksPerWeekSelector);
const dayNoDrink = useRecoilValue(daysWithGoalNoDrinkState)?.length;
Expand Down
2 changes: 1 addition & 1 deletion src/scenes/Gains/MyGoal.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const MyGoal = () => {
const maxDrinksPerWeekGoal = useRecoilValue(maxDrinksPerWeekSelector);
const dayNoDrink = useRecoilValue(daysWithGoalNoDrinkState)?.length;

const ToGoal = () => {
const toGoal = () => {
navigation.navigate('GOAL');
};

Expand Down

0 comments on commit ed1a0e4

Please sign in to comment.