-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OPFM-147] - Better explanation on why duplicate item adds fail (#5)
* toast message component to add a link to the code with better explaination of why plaid pattern prevents duplicate items for the same institutaion per user * add explaination to troubleshooting.md * update link for the toast and troubleshooting.md section to point to server README
- Loading branch information
Showing
6 changed files
with
37 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import React from 'react'; | ||
|
||
const DuplicateItemToastMessage = ({ institutionName }) => ( | ||
<> | ||
<div>{`${institutionName} already linked.`}</div> | ||
<a | ||
className="toast__link" | ||
href="https://github.com/plaid/pattern/tree/master/server#preventing-item-duplication" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
Click here | ||
</a>{' '} | ||
for more info. | ||
</> | ||
); | ||
|
||
export default DuplicateItemToastMessage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters