Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion com-dict-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@testing-library/user-event": "^7.2.1",
"algoliasearch": "^4.3.1",
"antd": "^4.2.5",
"firebase": "^7.13.1",
"firebase": "^7.24.0",
"firebase-functions": "^3.8.0",
"puppeteer": "^5.2.1",
"react": "^16.13.1",
Expand Down
2 changes: 1 addition & 1 deletion com-dict-client/src/components/Header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function TitleBar() {
key="profile"
>
<Menu.Item key="cat:0">
<Link to="/#">{user.displayName}</Link>
<Link to="/#">{user.email}</Link>
</Menu.Item>
<Menu.Item key="cat:0">
<Typography onClick={() => signOut()(firebase, history)}>
Expand Down
8 changes: 4 additions & 4 deletions com-dict-client/src/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ export default function Routes() {
<Route exact path="/" component={HomePage} />
<Route exact path="/signup" component={SignUp} />
<Route exact path="/browse" component={Browse} />
<Route path="/search/:language/:keyword" component={Search} />
<Route exact path="/search/:language/:keyword" component={Search} />
<Route exact path="/Categories" component={Categories} />
<PrivateRoute path="/add">
<AddWord />
</PrivateRoute>
<Route path="/letter" component={LetterBased} />
<Route path="/comment" component={CommentWord} />
<Route path="/report" component={Report} />
<Route exact path="/letter" component={LetterBased} />
<Route exact path="/comment" component={CommentWord} />
<Route exact path="/report" component={Report} />
</Router>
);
}
Expand Down