@influitive/profile-card
Advanced tools
Comparing version 3.1.1 to 3.1.2
{ | ||
"name": "@influitive/profile-card", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "@influitive/jwt": "^2.1.2", |
@@ -62,1 +62,5 @@ This application was scaffolded via [create-infl-app](https://gitlab.influitive.io/influitive/create-infl-app) | ||
`profile-card` is just a regular component built using react-redux. When the children element is clicked an ajax call is fired to the hub's `/api/people/${id}.json`to retrieve that specific user information. | ||
### RELEASING | ||
We currently maintain 2 versions of profile card due to mismatched deps that break in one of the places we use this repo. | ||
The master branch is v2 while there is also a v3 branch. Changes need to be duplicated in both branches. |
@@ -52,4 +52,3 @@ import React, { Component } from 'react'; | ||
className="c-action c-view-profile" | ||
href="javascript: void(0);" | ||
onClick={this._navigateToProfile}> | ||
href={`/profiles/${this.props.id}`}> | ||
{this.props.t('View Profile')} | ||
@@ -59,8 +58,4 @@ </Action> | ||
} | ||
_navigateToProfile = () => { | ||
window.location = `/profiles/${this.props.id}`; | ||
} | ||
} | ||
export default withNamespaces()(Footer); |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
66
3
441730
35
1071
1