Fix storybook tests (#6150)
The PRs merged on Friday introduced regressions on our storybook tests suite
This commit is contained in:
@ -3,5 +3,5 @@ import toKebabCase from 'lodash.kebabcase';
|
||||
import { ObjectMetadataItem } from '../types/ObjectMetadataItem';
|
||||
|
||||
export const getObjectSlug = (
|
||||
objectMetadataItem: Pick<ObjectMetadataItem, 'labelPlural'>,
|
||||
) => toKebabCase(objectMetadataItem.labelPlural);
|
||||
objectMetadataItem: Pick<ObjectMetadataItem, 'namePlural'>,
|
||||
) => toKebabCase(objectMetadataItem.namePlural);
|
||||
|
||||
Reference in New Issue
Block a user