Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculate expenses helper function #16

Merged
merged 5 commits into from
Nov 3, 2023

Conversation

mikejensen0
Copy link
Collaborator

No description provided.

Assuming the following expenses:
    { resident: 'Person 1', amount: 100 },
    { resident: 'Person 2', amount: 40 },
    { resident: 'Person 3', amount: 60 },
    { resident: 'Person 4', amount: 0 },
then
Person 2 owes Person 1 $10
Person 4 owes Person 1 $40
Person 4 owes Person 3 $10
@UnluckyBird
Copy link
Collaborator

Fjern router.d.ts fra PR

Should I commit the ".expo" folder?
No, you should not share the ".expo" folder. It does not contain any information that is relevant for other developers working on the project, it is specific to your machine.

@andreasalstrup
Copy link
Owner

Jeg synes vi skal have det i en helpers mappe i root, fx. root/helpers

Created new folder in root and moved the calculateExpenses helper function to it
Copy link
Owner

@andreasalstrup andreasalstrup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@andreasalstrup andreasalstrup merged commit 0e2fa90 into main Nov 3, 2023
1 check passed
@andreasalstrup andreasalstrup deleted the CalculateExpensesHelperFunction branch November 3, 2023 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants