Skip to content

Commit

Permalink
add null check
Browse files Browse the repository at this point in the history
  • Loading branch information
thelostone-mc committed Feb 5, 2021
1 parent f73ed98 commit f610c34
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/assets/v2/js/grants/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ let grantsHasNext = false;
let numGrants = '';

const toggleStyle = function(style) {

if (!style) {
return;
}

let banner;

if (style.bg) {
Expand Down

0 comments on commit f610c34

Please sign in to comment.