Skip to content

Commit

Permalink
クラス指定のバグを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
kuramapommel committed Sep 17, 2024
1 parent 58bf423 commit 527c7dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sample/src/components/atoms/buttons/standard-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const StandardButton = React.memo(function StandardButton({
disabled = false,
classes = [],
}: Props) {
const style = `text-xl min-w-28 bg-green-600 text-white p-2 border-none rounded-md cursor-pointer ${disabled ? 'opacity-50' : 'hover:bg-green-700'} mx-auto${classes.map((className) => ` ${className}`)}`
const style = `text-xl min-w-28 bg-green-600 text-white p-2 border-none rounded-md cursor-pointer ${disabled ? 'opacity-50' : 'hover:bg-green-700'} mx-auto${classes.map((className) => ` ${className}`).join('')}`

return (
<button
Expand Down

0 comments on commit 527c7dc

Please sign in to comment.