mirror of
https://github.com/WDI-Ideas/rubix-admin-panel.git
synced 2026-04-28 21:45:51 +00:00
updated
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
const extractFilename = (filePath) => {
|
||||
console.log(filePath);
|
||||
// Use the split method to break the path into parts based on '/'
|
||||
const parts = filePath.split('/');
|
||||
// Return the last part, which is the filename
|
||||
|
||||
Reference in New Issue
Block a user