fix: wallet toast link
This commit is contained in:
parent
936d31b914
commit
f387f4c01f
1 changed files with 5 additions and 1 deletions
|
@ -51,7 +51,11 @@ class SnackBar extends React.PureComponent<Props> {
|
|||
<div>ⓘ</div>
|
||||
<div>{message}</div>
|
||||
</div>
|
||||
{linkText && linkTarget && <Button navigate={linkTarget} className="snack-bar__action" label={linkText} />}
|
||||
{linkText && linkTarget && (
|
||||
// This is a little weird because of `linkTarget` code in `lbry-redux`
|
||||
// Any navigation code should happen in the app, and that should be removed from lbry-redux
|
||||
<Button navigate={`/$${linkTarget}`} className="snack-bar__action" label={linkText} />
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue