écocoll: Bouton pour revenir à la sélection des activités
parent
3556b62710
commit
566f068793
|
@ -14,6 +14,11 @@ import { MultiItemSelection } from './ActivitésSelection'
|
|||
|
||||
export let allTrue = list => list && all(item => item === true)(list)
|
||||
|
||||
export let BackToSelection = withSitePaths(({ sitePaths }) => (
|
||||
<Link to={sitePaths.économieCollaborative.activités.index}>
|
||||
Revenir à la sélection des activités
|
||||
</Link>
|
||||
))
|
||||
export default withSitePaths(function LocationMeublée({
|
||||
sitePaths,
|
||||
match: {
|
||||
|
@ -56,6 +61,7 @@ export default withSitePaths(function LocationMeublée({
|
|||
|
||||
return (
|
||||
<section>
|
||||
<BackToSelection />
|
||||
<Animate.fromBottom>
|
||||
<ScrollToTop />
|
||||
<h1>
|
||||
|
|
|
@ -6,7 +6,7 @@ import { Link } from 'react-router-dom'
|
|||
import Animate from 'Ui/animate'
|
||||
import checklistSvg from './images/checklist.svg'
|
||||
import { StoreContext } from './StoreContext'
|
||||
import { allTrue } from './Activité'
|
||||
import { BackToSelection, allTrue } from './Activité'
|
||||
import { getActivité } from './reducers'
|
||||
|
||||
let nothingToDo = activityAnswers => a => {
|
||||
|
@ -65,6 +65,7 @@ export default withSitePaths(function CoConsommation({ sitePaths }) {
|
|||
return (
|
||||
<Animate.fromBottom>
|
||||
<ScrollToTop />
|
||||
<BackToSelection />
|
||||
<h1>
|
||||
Que dois-je déclarer ? <br />
|
||||
<small css="font-size: 70% !important" className="ui__ notice">
|
||||
|
|
Loading…
Reference in New Issue