import React, { Component } from 'react';
import {Select, Card} from '@shopify/polaris';
import './ConferenceFilter.css';

export default class ConferenceFilter extends Component {
  render() {
    const {date, onDateChange, onTypeChange} = this.props;

    return (
      <Card sectioned>
        <div className="ConferenceFilter">
          <Select
            label="Date"
            options={['2017', '2016']}
            placeholder="Select"
            onChange={onDateChange}
            value={date}
          />
          <Select
            label="Type"
            options={['Javascript']}
            placeholder="Select"
            onChange={onTypeChange}
            value={'Javascript'}
          />
        </div>
      </Card>
    );
  }
}

import React, { Component } from 'react';
import {Select, Card} from '@shopify/polaris';
import './ConferenceFilter.css';

export default class ConferenceFilter extends Component {
  render() {
    const {date, onDateChange, onTypeChange} = this.props;

    return (
      <Card sectioned>
        <div className="ConferenceFilter">
          <Select
            label="Date"
            options={['2017', '2016']}
            placeholder="Select"
            onChange={onDateChange}
            value={date}
          />
          <Select
            label="Type"
            options={['JavaScript']}
            placeholder="Select"
            onChange={onTypeChange}
            value={'Javascript'}
          />
        </div>
      </Card>
    );
  }
}

Add capital S to JavaScript
Add capital S to JavaScript
