Skip to content

Commit

Permalink
Fix services titles
Browse files Browse the repository at this point in the history
  • Loading branch information
olevitt committed Aug 3, 2020
1 parent 2472165 commit b314ac7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/js/components/services/home/content/onglet-content.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import { Grid, IconButton, Icon } from '@material-ui/core';
import {
CardService,
getServiceAvatar,
getTitle,
getSubtitle,
} from 'js/components/commons/service-card';
import { axiosURL, wrapPromise } from 'js/utils';
import conf from 'js/configuration';
Expand All @@ -20,8 +18,8 @@ const OngletContent = () => {
const gridItems = services.map((service, i) => (
<CardService
key={i}
title={getTitle(service)}
subtitle={getSubtitle(service)}
title={service.title}
subtitle={service.subtitle}
avatar={getServiceAvatar(service)}
actions={createActionsCarte(service)(handleOpenService)}
contenu={createContenuCarte(service)}
Expand Down

0 comments on commit b314ac7

Please sign in to comment.