histogram width divide by mode, not total #2

Merged
christofsteel merged 47 commits from honigle into main 2022-02-02 13:59:36 +01:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit d9419c410f - Show all commits

View file

@ -9,6 +9,7 @@ import {
STATISTICS_TITLE, STATISTICS_TITLE,
GUESS_DISTRIBUTION_TEXT, GUESS_DISTRIBUTION_TEXT,
NEW_WORD_TEXT, NEW_WORD_TEXT,
SHARE_TEXT,
} from '../../constants/strings' } from '../../constants/strings'
type Props = { type Props = {
@ -70,7 +71,7 @@ export const StatsModal = ({
handleShare() handleShare()
}} }}
> >
Share {SHARE_TEXT}
</button> </button>
</div> </div>
)} )}

View file

@ -12,7 +12,7 @@ export const DELETE_TEXT = 'Delete'
export const STATISTICS_TITLE = 'Statistics' export const STATISTICS_TITLE = 'Statistics'
export const GUESS_DISTRIBUTION_TEXT = 'Guess Distribution' export const GUESS_DISTRIBUTION_TEXT = 'Guess Distribution'
export const NEW_WORD_TEXT = 'New word in' export const NEW_WORD_TEXT = 'New word in'
export const SHARE_TEXT = 'Share'
export const TOTAL_TRIES_TEXT = 'Total tries' export const TOTAL_TRIES_TEXT = 'Total tries'
export const SUCCESS_RATE_TEXT = 'Success rate' export const SUCCESS_RATE_TEXT = 'Success rate'
export const CURRENT_STREAK_TEXT = 'Current streak' export const CURRENT_STREAK_TEXT = 'Current streak'