import React, { Component } from 'react'

import VoudeOnibusPng from '../../img/voudeonibus.png'
import VoudeOnibusHorizontalPng from '../../img/voudeonibus-horizontal.png'

export default class About extends Component {
  render () {
    const imgs = `${VoudeOnibusHorizontalPng} 640w, ${VoudeOnibusPng} 800w`
    return (
      <header className='vdb-header'>
        <h1 className='vdb-title'>
          <img alt='Your picture description' srcSet={imgs} />
        </h1>

      </header>
    )
  }
}

import React, { Component } from 'react'

import VoudeOnibusPng from '../../img/voudeonibus.png'
import VoudeOnibusHorizontalPng from '../../img/voudeonibus-horizontal.png'

const imgs = `${VoudeOnibusHorizontalPng} 640w, ${VoudeOnibusPng} 800w`

export default class About extends Component {
  render () {
    return (
      <header className='vdb-header'>
        <h1 className='vdb-title'>
          <img alt='Your picture description' srcSet={imgs} />
        </h1>

      </header>
    )
  }
}

Move `const imgs` from `render`
Move `const imgs` from `render`
