diff options
Diffstat (limited to 'source/features/edit-files-faster.tsx')
-rw-r--r-- | source/features/edit-files-faster.tsx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/source/features/edit-files-faster.tsx b/source/features/edit-files-faster.tsx index 28453db8..8d3d9186 100644 --- a/source/features/edit-files-faster.tsx +++ b/source/features/edit-files-faster.tsx @@ -15,11 +15,8 @@ function init(): void { pathnameParts[3] = 'edit'; // Replaces `/blob/` - wrap(fileIcon, - <a href={pathnameParts.join('/')} className="rgh-edit-files-faster"> - {icons.edit()} - </a> - ); + wrap(fileIcon, <a href={pathnameParts.join('/')} className="rgh-edit-files-faster" />); + fileIcon.after(icons.edit()); } } |