mirror of
https://github.com/silvanocerza/github-gitless-sync.git
synced 2026-07-22 12:10:28 +00:00
Add key for tab elements
This commit is contained in:
parent
c315378fb7
commit
ca0049c383
1 changed files with 2 additions and 1 deletions
|
|
@ -22,8 +22,9 @@ const FilesTabBar: React.FC<FilesTabBarProps> = ({ files, onTabChange }) => {
|
|||
const createTab = (filename: string) => {
|
||||
return (
|
||||
<div
|
||||
key={filename}
|
||||
className={`workspace-tab-header tappable ${filename === currentFile ? "is-active mod-active" : ""}`}
|
||||
aria-label={`${filename}`}
|
||||
aria-label={filename}
|
||||
data-tooltip-delay="300"
|
||||
onClick={() => onTabClick(filename)}
|
||||
>
|
||||
|
|
|
|||
Loading…
Reference in a new issue