From 6684f3fce6e90fd0574d7bab63b629554ab03ef6 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Wed, 20 Nov 2024 13:31:50 +0000 Subject: Prettified Code! --- webAO/utils/paths.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'webAO/utils/paths.ts') 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); -- cgit