Skip to content

Commit

Permalink
removed whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-vaibhav committed Oct 17, 2023
1 parent 8b4752d commit a5d6d29
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 41 deletions.
15 changes: 0 additions & 15 deletions src/pages/files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,6 @@ import { BackroadNodeManager } from "@backroad/backroad";
import Jimp from "jimp";
import { addSidebar } from "./sidebar";
















export const filesPage = async (br: BackroadNodeManager) => {
addSidebar(br);
const [photo] = br.fileUpload({ label: "Pick Image" });
Expand Down
26 changes: 0 additions & 26 deletions src/pages/sip.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,6 @@
import { BackroadNodeManager } from "@backroad/backroad";
import { addSidebar } from "./sidebar";


















export const sipPage = (br: BackroadNodeManager) => {
addSidebar(br);
const [col1, col2] = br.columns({ columnCount: 2 });
Expand All @@ -35,15 +18,6 @@ export const sipPage = (br: BackroadNodeManager) => {
col2.pie(chartData);
};










const doMath = (amount: number, rate: number, years: string) => {
const period = { "5 Years": 5, "10 Years": 10, "15 Years": 15 }[years]!;
const finalAmount = amount * Math.pow(1 + rate / 100, period);
Expand Down

0 comments on commit a5d6d29

Please sign in to comment.