Skip to content

Commit c1daff5

Browse files
committed
small cleanup per code reviews suggestions
1 parent 4c76fe9 commit c1daff5

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

packages/components/src/components/hds/theme-context/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import type { HdsThemes, HdsModes } from '../../../services/hds-theming.ts';
1717

1818
export interface HdsThemeContextSignature {
1919
Args: {
20-
// it can be an `HdsTheme` or an `HdsMode`
20+
// can be either an `HdsTheme` or an `HdsMode`
2121
context: HdsThemeContexts;
2222
};
2323
Blocks: {

showcase/app/components/mock/app/sidebar/app-side-nav.gts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@ export default class MockAppSidebarAppSideNav extends Component<MockAppSidebarAp
156156
{{yield to="extraAfter"}}
157157
</SNL.ExtraAfter>
158158
{{/if}}
159-
160159
</HdsAppSideNavList>
161160
</HdsAppSideNav>
162161
</template>

showcase/app/components/page-foundations/theming/sub-sections/contexts.gts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import {
2424
import type { ShwStylesheets } from 'showcase/services/shw-theming';
2525

2626
const styleIsAvailable = helper(
27-
([currentStylesheet, context]: [ShwStylesheets, string]) => {
27+
([currentStylesheet, context]: [ShwStylesheets, HdsThemeContexts]) => {
2828
const isAvailable =
2929
(context === 'default' &&
3030
(currentStylesheet === 'css-selectors--migration' ||

0 commit comments

Comments
 (0)