Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/components/layout/MainNavbar/NavbarNav/UserActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ export default class UserActions extends React.Component {
<span className="d-none d-md-inline-block">Sierra Brooks</span>
</DropdownToggle>
<Collapse tag={DropdownMenu} right small open={this.state.visible}>
{/* This tag prop works to link to the correct page, however it's throwing a warning in console
that prop type is not correct.
Link to issue: https://github.com/DesignRevision/shards-dashboard-react/issues/26
Docs for Shards React Dropdowns: https://designrevision.com/docs/shards-react/component/dropdown
Docs for React Router Link: https://reactrouter.com/web/api/Link */}
<DropdownItem tag={Link} to="user-profile">
<i className="material-icons">&#xE7FD;</i> Profile
</DropdownItem>
Expand Down