mirror of https://github.com/status-im/consul.git
6 lines
170 B
JavaScript
6 lines
170 B
JavaScript
|
import config from './config/environment';
|
||
|
export default function(str) {
|
||
|
const user = window.localStorage.getItem(str);
|
||
|
return user !== null ? user : config[str];
|
||
|
}
|