refactor: basename

This commit is contained in:
cha0s 2022-03-20 02:02:40 -05:00
parent 4ad0526f88
commit 4e7d75727c

View File

@ -1,3 +1,5 @@
import {basename} from 'path';
import {
Tab,
Tabs,
@ -46,7 +48,7 @@ function Resource({expanded}) {
<Tab
key={uri}
>
{uri}
<span>{basename(uri)}</span>
<button
type="button"
className={styles.close}