From 60c05e4a4789e9a74e41aff1da1c64ea55910a4a Mon Sep 17 00:00:00 2001 From: Faisal Younus Date: Sat, 1 Feb 2020 17:41:57 -0600 Subject: [PATCH] Fix error with Warning: validateDOMNesting(...) in src/components/NavigationBar.js --- src/components/NavigationBar.js | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/src/components/NavigationBar.js b/src/components/NavigationBar.js index 93d14fe..fc29646 100644 --- a/src/components/NavigationBar.js +++ b/src/components/NavigationBar.js @@ -1,14 +1,16 @@ -import React from 'react'; -import { Link } from 'react-router-dom'; -import { Nav, Navbar } from 'react-bootstrap'; -import styled from 'styled-components'; +import React from "react"; +import { Link } from "react-router-dom"; +import { Nav, Navbar } from "react-bootstrap"; +import styled from "styled-components"; const Styles = styled.div` .navbar { background-color: #222; } - a, .navbar-brand, .navbar-nav .nav-link { + a, + .navbar-brand, + .navbar-nav .nav-link { color: #bbb; &:hover { @@ -21,26 +23,20 @@ export const NavigationBar = () => ( Code Life - + - -) + +);