Showing
1 changed file
with
1 additions
and
3 deletions
| ... | @@ -2,7 +2,7 @@ import React from "react"; | ... | @@ -2,7 +2,7 @@ import React from "react"; |
| 2 | import styled from "styled-components"; | 2 | import styled from "styled-components"; |
| 3 | import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; | 3 | import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; |
| 4 | import { faArrowRight } from "@fortawesome/free-solid-svg-icons"; | 4 | import { faArrowRight } from "@fortawesome/free-solid-svg-icons"; |
| 5 | -import { BrowserRouter as Router, Link } from "react-router-dom"; | 5 | +import { Link } from "react-router-dom"; |
| 6 | 6 | ||
| 7 | const Wrapper = styled.div` | 7 | const Wrapper = styled.div` |
| 8 | display: flex; | 8 | display: flex; |
| ... | @@ -93,7 +93,6 @@ const StyledLink = styled(Link)` | ... | @@ -93,7 +93,6 @@ const StyledLink = styled(Link)` |
| 93 | 93 | ||
| 94 | export default ({ roomArray }) => { | 94 | export default ({ roomArray }) => { |
| 95 | return ( | 95 | return ( |
| 96 | - <Router> | ||
| 97 | <Wrapper> | 96 | <Wrapper> |
| 98 | <RoomContainer> | 97 | <RoomContainer> |
| 99 | <RoomUL> | 98 | <RoomUL> |
| ... | @@ -112,6 +111,5 @@ export default ({ roomArray }) => { | ... | @@ -112,6 +111,5 @@ export default ({ roomArray }) => { |
| 112 | </StyledLink> | 111 | </StyledLink> |
| 113 | </CreateContainer> | 112 | </CreateContainer> |
| 114 | </Wrapper> | 113 | </Wrapper> |
| 115 | - </Router> | ||
| 116 | ); | 114 | ); |
| 117 | }; | 115 | }; | ... | ... |
-
Please register or login to post a comment