Skip to content

Commit

Permalink
fix: remplace GeistButton par Button
Browse files Browse the repository at this point in the history
  • Loading branch information
ggrossetie committed Dec 13, 2024
1 parent d0e1de8 commit 2caee7b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions front/src/components/Articles.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import Article from './Article'
import ArticleCreate from './ArticleCreate.jsx'

import styles from './articles.module.scss'
import Button from './Button.jsx'
import Field from './Field'
import { useActiveUserId } from '../hooks/user'
import WorkspaceLabel from './workspace/WorkspaceLabel.jsx'
Expand Down Expand Up @@ -251,13 +252,13 @@ export default function Articles() {
</aside>

<div className={styles.articlesTableHeader}>
<GeistButton
<Button
type="secondary"
className={styles.button}
onClick={() => setCreateArticleVisible(true)}
>
{t('article.createAction.buttonText')}
</GeistButton>
</Button>
<div className={styles.articleCounter}>
{keepArticles.length} article{keepArticles.length > 1 ? 's' : ''}
</div>
Expand Down

0 comments on commit 2caee7b

Please sign in to comment.