1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-08-02 20:15:24 +02:00

feat: refactor recipe scaling (#4298)

This commit is contained in:
Kuchenpirat 2024-10-01 16:31:04 +02:00 committed by GitHub
parent 1bd3d38dfc
commit 14dbd79c7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 45 additions and 29 deletions

View file

@ -39,7 +39,7 @@ function extractServingsFromFraction(fractionString: string): number | undefined
function findMatch(yieldString: string): [matchString: string, servings: number, isFraction: boolean] | null {
export function findMatch(yieldString: string): [matchString: string, servings: number, isFraction: boolean] | null {
if (!yieldString) {
return null;
}