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

[Play]: Savings Calculator #748

Merged
merged 29 commits into from
Oct 30, 2022
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
92c93d6
Initial file setup with images
kd100100 Oct 21, 2022
789fa3f
Add total component
kd100100 Oct 21, 2022
37b61a2
Add saving options form
kd100100 Oct 21, 2022
fd2dbf9
Add saving options form funtionality
kd100100 Oct 21, 2022
eb540f1
Add total dynamic rendering functionality
kd100100 Oct 21, 2022
4216152
Fix currency change automatically in form feilds
kd100100 Oct 21, 2022
1179994
Refactor savings calculation
kd100100 Oct 21, 2022
a09856c
Add responsive styling
kd100100 Oct 21, 2022
9526081
Add cover image
kd100100 Oct 21, 2022
8e45004
Add readme
kd100100 Oct 21, 2022
ac31e60
Merge branch 'main' into savings-calculator
kd100100 Oct 26, 2022
b048cda
Merge branch 'main' into savings-calculator
kd100100 Oct 27, 2022
bcfe3c8
Add play's header to play
kd100100 Oct 27, 2022
b7e0b36
Refactor SavingsCalculator to SavingCalculator
kd100100 Oct 27, 2022
4fec251
Refactor calculatSaving to getCalculatedSaving
kd100100 Oct 27, 2022
e440281
Refactor currencies to select tag
kd100100 Oct 27, 2022
ab24449
Merge branch 'main' into savings-calculator
kd100100 Oct 27, 2022
70aedaf
Merge branch 'main' into savings-calculator
kd100100 Oct 28, 2022
9e1d4c6
Merge branch 'main' into savings-calculator
Sachin-chaurasiya Oct 29, 2022
3419c26
Add play body wrapper
kd100100 Oct 29, 2022
befb860
Add value attribute to dropdown options
kd100100 Oct 29, 2022
89ab821
Refactor currency symbol into util function
kd100100 Oct 29, 2022
29f7af8
Refactor period options
kd100100 Oct 29, 2022
3404caf
Refactor wrap fireevent with act
kd100100 Oct 29, 2022
2a7ee7c
Refactor appropriate variable type usage
kd100100 Oct 29, 2022
b44524c
Add prefix to parent classes to avoid conflicts
kd100100 Oct 29, 2022
85682f7
Add implementation details to readme
kd100100 Oct 29, 2022
5fce1fb
Refactor image import name
kd100100 Oct 29, 2022
82f5ea8
Merge branch 'main' into savings-calculator
Sachin-chaurasiya Oct 30, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Refactor SavingsCalculator to SavingCalculator
  • Loading branch information
kd100100 committed Oct 27, 2022
commit b7e0b3692740ff5bde42bb0aa0d986a801ba3920
4 changes: 2 additions & 2 deletions src/plays/savings-calculator/SavingsCalculator.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Total from "./components/Total";
import SavingOptions from "./components/SavingOptions";
import "./styles/savingsCalculator.scss";

function SavingsCalculator(props) {
function SavingCalculator(props) {
const [total, setTotal] = useState(2327);
const [currency, setCurrency] = useState("INR");

Expand All @@ -27,4 +27,4 @@ function SavingsCalculator(props) {
);
}

export default SavingsCalculator;
export default SavingCalculator;