Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
Merge pull request #35 from SocialGouv/feat/usecases
Browse files Browse the repository at this point in the history
fix: change wording button usecase
  • Loading branch information
YoannNumericite authored Apr 8, 2022
2 parents fb5c5a0 + 821e24c commit 43a599d
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions components/home/useCasesSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ const UseCasesSection = ({ UCList } : {UCList:any}) => {
<div className={`uc-card ${activeUC === index ? "active" : ""}`}
onClick={() => {
setActiveUC(index);
console.log(UCList[index])
}}
key={index}>
<h4>{uc.title}</h4>
Expand All @@ -52,7 +51,7 @@ const UseCasesSection = ({ UCList } : {UCList:any}) => {
<br />
<ButtonLink href={UCList[activeUC].path} size="large" alt>
<span className="layout-center">
Accéder au usecase
Accéder au cas d'usage
</span>
</ButtonLink>
</div>
Expand Down
2 changes: 0 additions & 2 deletions components/searchApis/searchApis.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ const SearchApis = ({ allApis, allThemes, allKinds, allProducers }) => {

setApiList(newApiList);

console.log('test test')

if(searchTerms && searchTerms !== '') {
setIsLoading(true);

Expand Down
1 change: 0 additions & 1 deletion pages/usecases/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ const computeRelatedRessources = async (usecase: IGuideElement) => {
async (slug: string) => await getAPI(slug)
)
);
console.log('related ressources : ', related_ressources)
return related_ressources
};

Expand Down
1 change: 0 additions & 1 deletion pages/usecases/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ export const getStaticProps = async () => {
const guides = await getAllGuides();

const simplify = (guide: IGuideElement): IGuideElementShort => {
console.log('TESTTTTT');
return {
path: guide.path,
slug: guide.slug,
Expand Down

0 comments on commit 43a599d

Please sign in to comment.