-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Badge, Balloon, Base, BaseColumn, CurrencyInputの内部処理を最適化する #5349
base: master
Are you sure you want to change the base?
Conversation
commit: |
import { useClassNameGenerator } from '../../hooks/useClassNameGenerator' | ||
|
||
export function useClassNames() { | ||
const generate = useClassNameGenerator('Balloon') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
やっていることは一定のclassNameを生成することだけであり、他コンポーネントではベタ打ちでコンポーネントに記述されているため、このhook自体を削除しました。
対象はBalloonとCurrencyInputになります
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
そもそもBalloonは未使用のhookから呼び出されているだけでした
6bb6154
to
bec13da
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
関連URL
概要
変更内容
確認方法