Improve linking and link more things

This commit is contained in:
Julia Friesel committed 2019-01-08 08:45:32 +01:00
1 parent 300d7178f1
commit 27b4a454ec
7 files changed
+76 -39

No files matched your search

@@ -0,0 +1,6 @@
import {links} from '../../i18n/en/settings'
export default function(url) {
const link = Object.values(links).find(link => link.url === url)
return link ? link.text : url
}