🔥 Supprime un TODO obsolète
parent
12a4f96368
commit
48cf8d90ef
|
@ -14,7 +14,6 @@ import {
|
|||
import i18n from './i18n'
|
||||
import { Evaluation, Unit } from './types'
|
||||
|
||||
//TODO this function does not handle complex units like passenger-kilometer/flight
|
||||
export const parseUnit = (string: string, lng = 'fr'): Unit => {
|
||||
const [a, ...b] = string.split('/'),
|
||||
result = {
|
||||
|
|
Loading…
Reference in New Issue