Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Commit

Permalink
Fix bad theme type
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Pellizzari <jordan@weave.works>
  • Loading branch information
jpellizzari committed May 19, 2021
1 parent f4ed577 commit 15edc84
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ui/lib/theme.ts
@@ -1,6 +1,6 @@
import { createMuiTheme } from "@material-ui/core/styles";
import purple from "@material-ui/core/colors/purple";
import green from "@material-ui/core/colors/green";
import purple from "@material-ui/core/colors/purple";
import { createMuiTheme } from "@material-ui/core/styles";
import { createGlobalStyle } from "styled-components";

const theme = createMuiTheme({
Expand All @@ -21,7 +21,8 @@ export default theme;

export const GlobalStyle = createGlobalStyle`
body {
font-family: ${(props) => props.theme.typography.fontFamily}, sans-serif;
font-family: ${(props: { theme: typeof theme }) =>
props.theme.typography.fontFamily}, sans-serif;
padding: 0;
margin: 0;
}
Expand Down

0 comments on commit 15edc84

Please sign in to comment.