histogram width divide by mode, not total #2
2 changed files with 3 additions and 2 deletions
|
@ -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>
|
||||||
)}
|
)}
|
||||||
|
|
|
@ -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'
|
||||||
|
|
Loading…
Add table
Reference in a new issue