Skip to content

Commit

Permalink
feat: Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
JayceDugan committed Jun 10, 2023
1 parent dbfe6e8 commit d65b117
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
13 changes: 2 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
# Next.js + Tailwind CSS + TypeScript Starter and Boilerplate
# Dividend Reinvestment Calculator

<div align="center">
<h2>🔋 ts-nextjs-tailwind-starter</h2>
<p>Next.js + Tailwind CSS + TypeScript starter packed with useful development features.</p>
<p>Made by <a href="https://theodorusclarence.com">Theodorus Clarence</a></p>

[![GitHub Repo stars](https://img.shields.io/github/stars/theodorusclarence/ts-nextjs-tailwind-starter)](https://github.com/theodorusclarence/ts-nextjs-tailwind-starter/stargazers)
[![Depfu](https://badges.depfu.com/badges/fc6e730632ab9dacaf7df478a08684a7/overview.svg)](https://depfu.com/github/theodorusclarence/ts-nextjs-tailwind-starter?project_id=30160)
[![Last Update](https://img.shields.io/badge/deps%20update-every%20sunday-blue.svg)](https://shields.io/)

</div>
![Alt Tesxt](public/images/preview.png)

## Features

Expand Down
Binary file added public/images/preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/charts/DividendReturnsChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const DividendReturnsChart = () => {
taxExemptAnnualDividendIncome,
investmentPeriod,
sharePrice,
});
}, 0);

const contributions = returns.map(
(returnYear) => returnYear.annualContribution
Expand Down
2 changes: 1 addition & 1 deletion src/data-access/features/investmentSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export interface InvestmentState {

// Define the initial state using that type
const initialState: InvestmentState = {
startingPrincipal: 1.0,
startingPrincipal: 10.0,
initialAnnualDividendYield: 0.05,
distributionFrequency: DistributionFrequency.QUARTERLY,
annualContribution: 5.0,
Expand Down

0 comments on commit d65b117

Please sign in to comment.