Skip to content

Commit

Permalink
Guard inital data
Browse files Browse the repository at this point in the history
  • Loading branch information
wpears committed Nov 7, 2023
1 parent b67d082 commit ff9e2ff
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const app = {
urlValues: {},
init: function () {
getApiValues.initialData().then((resp) => {
if (!resp) return;
const [constants, expenses] = resp;
financialModel.init(constants[0]);
financialView.init();
Expand Down

0 comments on commit ff9e2ff

Please sign in to comment.