hawklu212 / CPSC-455-Project

1 stars 2 forks source link

added button for and fixed clearDirections() #37

Closed justinjao closed 2 years ago

justinjao commented 2 years ago

PR Description

This adds a button to call clearDirections(), so we can show that we have a working action. It also fixes a bug in clearDirections, by setting the directionsArray to an empty array, rather than null, which would cause the action to blow up the page due to an exception.

Linked Issues

justinjao commented 2 years ago

Seems like we have a battle of the tab linters! I tested this on my end and it all looks great!

Yeah I think all three of us have different linters (if at all). I think it might be worth considering actually standardizing on one now, haha