refactor: basename
This commit is contained in:
parent
4ad0526f88
commit
4e7d75727c
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue
Block a user