Skip to content

Commit

Permalink
Fix styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 committed Jul 29, 2020
1 parent 6161343 commit 621b5c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/App/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Component, CSSProperties, ReactNode, Ref, RefCallback } from 'react';
import { jsx } from '@emotion/core';
import { RouteComponentProps, withRouter } from 'react-router-dom';

import Select from 'react-select';
import Select, { ControlProps } from 'react-select';
import GitHubButton from './GitHubButton';
import TwitterButton from './TwitterButton';

Expand Down Expand Up @@ -55,7 +55,7 @@ function getLabel({ icon, label }: Change) {
}

const headerSelectStyles = {
control: ({ isFocused, ...base }: CSSProperties) => ({
control: (base: CSSProperties, { isFocused }: ControlProps<{}>) => ({
...base,
backgroundClip: 'padding-box',
borderColor: 'rgba(0,0,0,0.1)',
Expand Down

0 comments on commit 621b5c3

Please sign in to comment.