Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2020-1-capstone-design1
/
Triz_Project1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
sdy
2020-05-22 15:10:42 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
844c7d0265c77376bd681bf20679bdf4f74f9fc1
844c7d02
1 parent
954a72f6
remove BrowserRouter
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
3 deletions
front/src/Components/RoomList.js
front/src/Components/RoomList.js
View file @
844c7d0
...
...
@@ -2,7 +2,7 @@ import React from "react";
import
styled
from
"styled-components"
;
import
{
FontAwesomeIcon
}
from
"@fortawesome/react-fontawesome"
;
import
{
faArrowRight
}
from
"@fortawesome/free-solid-svg-icons"
;
import
{
BrowserRouter
as
Router
,
Link
}
from
"react-router-dom"
;
import
{
Link
}
from
"react-router-dom"
;
const
Wrapper
=
styled
.
div
`
display: flex;
...
...
@@ -93,7 +93,6 @@ const StyledLink = styled(Link)`
export
default
({
roomArray
})
=>
{
return
(
<
Router
>
<
Wrapper
>
<
RoomContainer
>
<
RoomUL
>
...
...
@@ -112,6 +111,5 @@ export default ({ roomArray }) => {
<
/StyledLink
>
<
/CreateContainer
>
<
/Wrapper
>
<
/Router
>
);
};
...
...
Please
register
or
login
to post a comment