refactor: Save currentTimePeriod passed to component to variable
refactor: Save currentTimePeriod passed to component to variable

Prevents bubbling
pe1te3son/spendings-tracker,pe1te3son/spendings-tracker