fix upper text

This commit is contained in:
CHIEFSOFT\ameye
2024-12-15 20:40:31 -05:00
parent 7bcd2bd05a
commit e3c7f1002f
+1
View File
@@ -11,6 +11,7 @@ export default function ProductFactory(){
const location = useLocation();
const pathname = location.pathname;
// Split the pathname by '/' and get the last element
const lastPart = pathname.split('/').pop();
console.log(lastPart)