Skip to content

Commit

Permalink
fix: 去除了pwa重定向
Browse files Browse the repository at this point in the history
  • Loading branch information
adddna committed Jan 16, 2020
1 parent 1f55582 commit 05389fa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CC98.Forum/CC98.Forum/Components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ export class Header extends React.Component<{}, AppState> {
if (pathname === '/') {
return (
<div className="header">
<Redirect />
{/*<Redirect />*/}
<div className="topBar-mainPage">
<div className="topBarRow">
<div
Expand Down Expand Up @@ -564,7 +564,7 @@ export class Header extends React.Component<{}, AppState> {
} else {
return (
<div className="headerWithoutImage">
<Redirect />
{/*<Redirect />*/}
<div className="topBar">
<div className="topBarRow">
<div
Expand Down Expand Up @@ -604,6 +604,7 @@ export class Header extends React.Component<{}, AppState> {
}
}

/*
class Redirect extends React.Component<{}, { isShowed: boolean }> {
constructor(props) {
super(props);
Expand Down Expand Up @@ -696,3 +697,4 @@ class Redirect extends React.Component<{}, { isShowed: boolean }> {
return <></>;
}
}
*/

0 comments on commit 05389fa

Please sign in to comment.