mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-22 14:53:15 +00:00
Use const instead of let for constant (tootsuite pr #6106)
This commit is contained in:
parent
0d4dcb5fb2
commit
b535f24fe5
|
@ -79,8 +79,8 @@ export default class GettingStarted extends ImmutablePureComponent {
|
||||||
render () {
|
render () {
|
||||||
const { intl, myAccount, columns, multiColumn, lists } = this.props;
|
const { intl, myAccount, columns, multiColumn, lists } = this.props;
|
||||||
|
|
||||||
let navItems = [];
|
const navItems = [];
|
||||||
let listItems = [];
|
const listItems = [];
|
||||||
|
|
||||||
if (multiColumn) {
|
if (multiColumn) {
|
||||||
if (!columns.find(item => item.get('id') === 'HOME')) {
|
if (!columns.find(item => item.get('id') === 'HOME')) {
|
||||||
|
|
Loading…
Reference in a new issue