diff options
author | Nick Van Doorn <vandoorn.nick@gmail.com> | 2019-03-07 15:31:11 -0800 |
---|---|---|
committer | Nick Van Doorn <vandoorn.nick@gmail.com> | 2019-03-07 15:31:11 -0800 |
commit | 6b82b24a8ad1e390c7b6e7338138582391ceff50 (patch) | |
tree | 00a586dda9debda19706426edcc6be02e3b22ebb /src/components/nav.js | |
parent | d8e0d85ab2cab62ac732239b06200e48f4df82be (diff) |
Update an old beta project & live to tell the tale
Diffstat (limited to 'src/components/nav.js')
-rw-r--r-- | src/components/nav.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/nav.js b/src/components/nav.js index 5aa4b88..26b1373 100644 --- a/src/components/nav.js +++ b/src/components/nav.js @@ -1,5 +1,5 @@ import React from 'react' -import { css } from 'react-emotion' +import { css } from '@emotion/core' import { Link } from 'gatsby' import { margins } from './globals' @@ -23,11 +23,11 @@ export const Nav = p => { } ` return ( - <nav className={navStyle}> + <nav css={navStyle}> {p.links ? p.links.map(({ name, link }) => ( <Link - className={linkStyle} + css={linkStyle} to={link} key={link} activeStyle={{ borderColor: 'initial' }} |