mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-03 08:57:54 +00:00
Co-authored-by: Christopher Oliphant <RALifeCoach@users.noreply.github.com>
4 lines
88 B
TypeScript
4 lines
88 B
TypeScript
export const getFileName = (file: File) => {
|
|
return file.name.split(".")[0] || "";
|
|
};
|