Utilisation de la fonction capitalise0

pull/85/head
mama 2017-10-05 12:48:35 +02:00
parent af27dd3061
commit a1de5b49b0
1 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@ import React from "react"
import R from "ramda"
import "./References.css"
import references from "Règles/ressources/références/références.yaml"
import {capitalise0} from '../../utils'
export default class References extends React.Component {
state = {
@ -56,7 +57,7 @@ export default class References extends React.Component {
</span>
</span>
<a href={link} target="_blank">
{R.head(name).toUpperCase() + R.tail(name)}
{capitalise0(name)}
</a>
</li>
)