Skip to content

Commit 8e7e44a

Browse files
committed
fixup! Fix Checkbox
1 parent 035a4bc commit 8e7e44a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/checkbox/src/utils/getLgIds.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,10 @@ import { LgIdString } from '@leafygreen-ui/lib';
33
export const DEFAULT_LGID_ROOT = 'lg-checkbox';
44

55
export const getLgIds = (root: LgIdString = DEFAULT_LGID_ROOT) => {
6-
return {
6+
const ids = {
77
root,
8-
label: `${root}-label`,
9-
description: `${root}-description`,
108
} as const;
9+
return ids;
1110
};
1211

1312
export type GetLgIdsReturnType = ReturnType<typeof getLgIds>;

0 commit comments

Comments
 (0)