Skip to content

Commit

Permalink
change initial input value
Browse files Browse the repository at this point in the history
  • Loading branch information
yethranayeh committed Dec 16, 2024
1 parent e9d39fd commit e0b5ca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/CalculationView/CalculationView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { currencies } from "../../constant";
export function CalculationView() {
const { preferences } = useStorage();
const [selected, setSelected] = useState<CurrencyKey | "">(preferences.starred ?? "");
const [value, setValue] = useState(preferences.starred ? "1" : "");
const [value, setValue] = useState("1");
const currencyMap = useCurrencyMapData();

const results = useMemo(() => {
Expand Down

0 comments on commit e0b5ca9

Please sign in to comment.