scientist-softserv / webstore-component-library

A React component library intended for use with WebStore applications.
https://www.npmjs.com/package/@scientist-softserv/webstore-component-library
2 stars 0 forks source link

refactor the Error component #136

Closed alishaevn closed 1 year ago

alishaevn commented 1 year ago

Story

We created an Error component to that takes advantage of the React Bootstrap Alert component. We now have need however to render other alerts as well. Instead of having two different components based on an Alert that do essentially the same thing, we should refactor/rename the Error to account for other use cases.

The current use case is for a user who has not logged in, but is trying to access a route that requires authentication.

Acceptance criteria