Tarif key added
This commit is contained in:
parent
8fb1b061d5
commit
52be43193b
|
|
@ -2,6 +2,7 @@
|
|||
import React from 'react';
|
||||
import { useState, useEffect } from 'react';
|
||||
import { Api } from '../helpers/api';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
// Components
|
||||
import Tab from '../components/Tab';
|
||||
import SectionTitle from '../components/SectionTitle';
|
||||
|
|
@ -82,6 +83,7 @@ const Tarif = ({ lang }) => {
|
|||
? tarifData.data.map((tarif) => {
|
||||
return tarif.type === 'resident' && tarif.title != '-' ? (
|
||||
<TarifService
|
||||
key={uuidv4()}
|
||||
title={tarif.title}
|
||||
price={tarif.prices.map((tarifPrice) => tarifPrice.price + ' ')}
|
||||
/>
|
||||
|
|
@ -96,6 +98,7 @@ const Tarif = ({ lang }) => {
|
|||
? tarifData.data.map((tarif) => {
|
||||
return tarif.type === 'non_resident' && tarif.title != '-' ? (
|
||||
<TarifService
|
||||
key={uuidv4()}
|
||||
title={tarif.title}
|
||||
price={tarif.prices.map((tarifPrice) => tarifPrice.price + ' ')}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue