Skip to content

Commit

Permalink
fix LinkButton stylesheet import path (#5435)
Browse files Browse the repository at this point in the history
* update Button stylesheet import to relative path

* add changeset
  • Loading branch information
mcwinter07 authored Jan 3, 2025
1 parent ce960bc commit 4bfcd3e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/kind-spies-refuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@kaizen/components': patch
---

update LinkButton's import of the Button stylesheet to a relative path to resolve file resolution error
2 changes: 1 addition & 1 deletion packages/components/src/LinkButton/LinkButton.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import React, { forwardRef } from 'react'
import { Link as RACLink, type LinkProps as RACLinkProps } from 'react-aria-components'
import { type ButtonUIProps } from '~components/__rc__/Button'
import buttonStyles from '~components/__rc__/Button/Button.module.css'
import { ButtonContent } from '~components/__rc__/Button/subcomponents'
import { useReversedColors } from '~components/__utilities__/v3'
import { mergeClassNames } from '~components/utils/mergeClassNames'
import buttonStyles from '../__rc__/Button/Button.module.css'
import styles from './LinkButton.module.css'

export type LinkButtonProps = ButtonUIProps &
Expand Down

0 comments on commit 4bfcd3e

Please sign in to comment.