We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7d1f36 commit 251c00eCopy full SHA for 251c00e
src/utils/expandUtil.tsx
@@ -57,12 +57,10 @@ export function computedExpandedClassName<RecordType>(
57
index: number,
58
indent: number,
59
) {
60
- let resultClsName = '';
61
if (typeof cls === 'string') {
62
- resultClsName = cls;
+ return cls;
63
}
64
if (typeof cls === 'function') {
65
- resultClsName = cls(record, index, indent);
+ return cls(record, index, indent);
66
67
- return resultClsName;
68
0 commit comments