fix: project state setting state name remove camel case logic (#4652)

This commit is contained in:
Anmol Singh Bhatia 2024-05-31 12:27:25 +05:30 committed by GitHub
parent d27590cd49
commit 653b1a7b30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -54,7 +54,7 @@ export const StatesListItem: React.FC<Props> = observer((props) => {
<div className="flex items-center gap-3"> <div className="flex items-center gap-3">
<StateGroupIcon stateGroup={state.group} color={state.color} height="16px" width="16px" /> <StateGroupIcon stateGroup={state.group} color={state.color} height="16px" width="16px" />
<div> <div>
<h6 className="text-sm font-medium">{addSpaceIfCamelCase(state.name)}</h6> <h6 className="text-sm font-medium">{state.name}</h6>
<p className="text-xs text-custom-text-200">{state.description}</p> <p className="text-xs text-custom-text-200">{state.description}</p>
</div> </div>
</div> </div>