mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-11-01 18:53:59 -04:00
feat: refactor recipe scaling (#4298)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user