Refactored the code.

This commit is contained in:
Owaise Imdad committed 2025-03-05 09:21:08 +05:30
1 parent a7a8bb2ea8
commit 3376186ff3
2 files changed
+3 -4

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
// src/utils/truncateUtils.js
import { isEmpty } from "./stringUtils"; // assuming you have the stringUtils file
import { isEmpty } from "./stringUtils";
/**
* Utility function to render a truncated value with an optional title.