From 45ad78cde7042b1aee7208bd5086efb6a5ec95f3 Mon Sep 17 00:00:00 2001 From: Thomas Parisot Date: Thu, 12 Dec 2024 18:20:50 +0100 Subject: [PATCH] fix(articles): remplace par un bouton standard --- front/src/components/Articles.jsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/front/src/components/Articles.jsx b/front/src/components/Articles.jsx index c38a79809..d119898d7 100644 --- a/front/src/components/Articles.jsx +++ b/front/src/components/Articles.jsx @@ -2,7 +2,6 @@ import { Loading, Modal as GeistModal, useModal, - Button as GeistButton, } from '@geist-ui/core' import React, { useCallback, useEffect, useMemo, useState } from 'react' import { useTranslation } from 'react-i18next' @@ -19,6 +18,7 @@ import ArticleCreate from './ArticleCreate.jsx' import styles from './articles.module.scss' import Field from './Field' +import Button from './Button.jsx' import { useActiveUserId } from '../hooks/user' import WorkspaceLabel from './workspace/WorkspaceLabel.jsx' import { useActiveWorkspace } from '../hooks/workspace.js' @@ -254,13 +254,12 @@ export default function Articles() {
{!activeWorkspaceId && ( - setCreateArticleVisible(true)} > {t('article.createAction.buttonText')} - + )}
{t('article.count', { count: keepArticles.length })}