Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
troyeguo committed Dec 2, 2023
1 parent 81ce928 commit e37c7ff
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions src/pages/manager/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,35 +78,6 @@ class Manager extends React.Component<ManagerProps, ManagerState> {
};
render() {
let { books } = this.props;
if (isMobile && document.location.href.indexOf("192.168") === -1) {
return (
<>
<p className="waring-title">
<Trans>Warning</Trans>
</p>
<div className="mobile-warning">
<span>
<Trans>
For better user experince, please visit this site on a computer
</Trans>
</span>
</div>
<div>
<img
src={
StorageUtil.getReaderConfig("appSkin") === "night" ||
(StorageUtil.getReaderConfig("appSkin") === "system" &&
StorageUtil.getReaderConfig("isOSNight") === "yes")
? "./assets/empty_light.svg"
: "./assets/empty.svg"
}
alt=""
className="waring-pic"
/>
</div>
</>
);
}
return (
<div
className="manager"
Expand Down

0 comments on commit e37c7ff

Please sign in to comment.