diff options
Diffstat (limited to 'webAO/utils/paths.ts')
| -rw-r--r-- | webAO/utils/paths.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webAO/utils/paths.ts b/webAO/utils/paths.ts index f4284b6..8c0d007 100644 --- a/webAO/utils/paths.ts +++ b/webAO/utils/paths.ts @@ -1 +1,2 @@ -export const getFilenameFromPath = (path: string) => path.substring(path.lastIndexOf('/') + 1) +export const getFilenameFromPath = (path: string) => + path.substring(path.lastIndexOf("/") + 1); |
