chore: Move to prettier standard double quotes (#1309)
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
// @flow
|
||||
import * as React from 'react';
|
||||
import { inject, observer } from 'mobx-react';
|
||||
import { ThemeProvider } from 'styled-components';
|
||||
import { dark, light } from 'shared/styles/theme';
|
||||
import GlobalStyles from 'shared/styles/globals';
|
||||
import UiStore from 'stores/UiStore';
|
||||
import * as React from "react";
|
||||
import { inject, observer } from "mobx-react";
|
||||
import { ThemeProvider } from "styled-components";
|
||||
import { dark, light } from "shared/styles/theme";
|
||||
import GlobalStyles from "shared/styles/globals";
|
||||
import UiStore from "stores/UiStore";
|
||||
|
||||
type Props = {
|
||||
ui: UiStore,
|
||||
@ -13,7 +13,7 @@ type Props = {
|
||||
|
||||
function Theme({ children, ui }: Props) {
|
||||
return (
|
||||
<ThemeProvider theme={ui.resolvedTheme === 'dark' ? dark : light}>
|
||||
<ThemeProvider theme={ui.resolvedTheme === "dark" ? dark : light}>
|
||||
<React.Fragment>
|
||||
<GlobalStyles />
|
||||
{children}
|
||||
@ -22,4 +22,4 @@ function Theme({ children, ui }: Props) {
|
||||
);
|
||||
}
|
||||
|
||||
export default inject('ui')(observer(Theme));
|
||||
export default inject("ui")(observer(Theme));
|
||||
|
Reference in New Issue
Block a user