Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesrkiger committed Jan 14, 2025
1 parent a49c620 commit 084ae8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jsapp/js/components/common/ActionIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
createPolymorphicComponent,
} from '@mantine/core';
import type {ActionIconProps as ActionIconPropsMantine} from '@mantine/core/lib/components';
import Icon, { IconSize} from './icon';
import Icon, {IconSize} from './icon';
import type {IconName} from 'jsapp/fonts/k-icons';
import {forwardRef} from 'react';

Expand All @@ -14,7 +14,7 @@ export interface ActionIconProps extends Omit<ActionIconPropsMantine, 'size'> {

const ActionIcon = forwardRef<HTMLButtonElement, ActionIconProps>(
({iconName, ...props}, ref) => {
// Currently, our icon sizes only use a single letter instead of
// Currently, our icon sizes only use a single letter instead of
// Mantine's 'sm', 'md', etc. So here we grab the first letter.
const iconSize = props.size[0] as IconSize;
return (
Expand Down

0 comments on commit 084ae8e

Please sign in to comment.