diff --git a/src/App.jsx b/src/App.jsx
index 4ebc21c..dfa64fc 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -1,6 +1,7 @@
import { useState } from "react";
import LoanForm from "./LoanForm.jsx";
import { loanMaths, isNumber } from "./loanMaths.js";
+import ModeToggle from "./ModeToggle.jsx";
import LoanPlot from "./LoanPlot.jsx";
import LoanStats from "./LoanStats.jsx";
import EventsForm from "./EventsForm.jsx";
@@ -203,7 +204,7 @@ if (searchParams.has("downPayCash")) initialUserSetDownPercent = false;
function App() {
const [loanEvent, setLoanEvent] = useState(initialEvents);
- const [chosenInput, setChosenInput] = useState("homeVal");
+ const [chosenInput, setChosenInput] = useState("monthlyPayment" in initialOverride ? "monthlyPayment" : "homeVal");
const [userSetDownPercent, setUserSetDownPercent] = useState(initialUserSetDownPercent);
const [showURLToast, setShowURLToast] = useState(gotStuffFromURL);
const [rentSim, setRentSim] = useState({ ...initialRentSimulation, ...overrideRentSimulation });
@@ -568,28 +569,18 @@ function App() {
-
-
-
-
-
- An easy to use mortgage calculator to find out exactly how much it will cost to buy a house. Or, enter a monthly budget. How much can you
- afford? This tool supports unlimited overpayment, re-finance and recast events. Also, try adding inflation.
-