Availity / availity-react

React components using Availity UIKit and Bootstrap 4
https://availity.github.io/availity-react
MIT License
52 stars 30 forks source link

fix(spaces): null check for link type #1310

Closed jordan-a-young closed 1 year ago

jordan-a-young commented 1 year ago

One of our apps was getting an error from the SpacesLink trying to call toUpperCase on an undefined variable

codecov[bot] commented 1 year ago

Codecov Report

Merging #1310 (8b3dace) into master (62f95e1) will increase coverage by 3.83%. Report is 2 commits behind head on master. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1310      +/-   ##
==========================================
+ Coverage   90.26%   94.09%   +3.83%     
==========================================
  Files          36       17      -19     
  Lines        1500      593     -907     
  Branches      504      195     -309     
==========================================
- Hits         1354      558     -796     
+ Misses        146       35     -111     
Files Coverage Δ
packages/spaces/src/SpacesLink.js 94.73% <100.00%> (ø)

... and 48 files with indirect coverage changes