mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-08-07 01:13:08 +02:00
#143 - Fix for recent files unique values
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
|
||||
- Rendered more hooks than during the previous render in `FileList`
|
||||
- [#142](https://github.com/estruyf/vscode-front-matter/issues/142): Fix for unknown tags where it throws an error
|
||||
- [#143](https://github.com/estruyf/vscode-front-matter/issues/143): Fix for duplicate values in the file list
|
||||
|
||||
## [5.0.0] - 2021-10-07 - [Release Notes](https://beta.frontmatter.codes/updates/v5.0.0)
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ export const FileList: React.FunctionComponent<IFileListProps> = ({files, folder
|
||||
<ul className="file_list__items">
|
||||
{
|
||||
files.map(file => (
|
||||
<FileItem key={file.fileName} name={file.fileName} path={file.filePath} />
|
||||
<FileItem key={file.filePath} name={file.fileName} path={file.filePath} />
|
||||
))
|
||||
}
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user