Improve linking and link more things
This commit is contained in:
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
|
||||
}
|
||||
Reference in new issue
Block a user