File tree Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ export const Body: React.FC<ReactProps> = React.memo((props: ReactProps) => {
63
63
64
64
// this very rarely changes, so just call this once
65
65
const isPaidStudentPayProject = useMemo (
66
- ( ) => ! redux . getProjectsStore ( ) . isPaidStudentPayProject ( project_id ) ,
66
+ ( ) => redux . getProjectsStore ( ) . isPaidStudentPayProject ( project_id ) ,
67
67
[ project_id ] ,
68
68
) ;
69
69
const showNonMemberWarning =
Original file line number Diff line number Diff line change 6
6
import { Alert } from "@cocalc/frontend/antd-bootstrap" ;
7
7
import { Icon } from "@cocalc/frontend/components" ;
8
8
import { UPGRADE_HINT } from "./non-member" ;
9
- import { NO_INTERNET } from "@cocalc/frontend/project/trial-banner" ;
10
9
11
10
export function NoNetworkProjectWarning ( ) {
12
11
return (
13
12
< Alert bsStyle = "warning" style = { { margin : "15px" } } >
14
13
< h4 >
15
14
< Icon name = "exclamation-triangle" /> Warning: this project{ " " }
16
- < strong > does not have full internet access</ strong >
15
+ < strong > does not have full internet access</ strong > .
17
16
</ h4 >
18
- < p >
19
- Projects without internet { NO_INTERNET } . { UPGRADE_HINT }
20
- </ p >
17
+ < p > { UPGRADE_HINT } </ p >
21
18
</ Alert >
22
19
) ;
23
20
}
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ import { COLORS } from "@cocalc/util/theme";
30
30
import { CSSProperties , useMemo , useState } from "react" ;
31
31
import { useProjectState } from "../project/page/project-state-hook" ;
32
32
import { useProjectHasInternetAccess } from "../project/settings/has-internet-access-hook" ;
33
- import { NO_INTERNET } from "../project/trial-banner" ;
34
33
import { BuyLicenseForProject } from "../site-licenses/purchase/buy-license-for-project" ;
35
34
36
35
const PROJECT_NAME_STYLE : CSSProperties = {
@@ -137,7 +136,7 @@ function ProjectTab({ project_id }: ProjectTabProps) {
137
136
return (
138
137
< >
139
138
< div style = { fontStyle } >
140
- This project does not have access to the internet: { NO_INTERNET } .
139
+ This project does not have access to the internet.
141
140
{ onKucalc && (
142
141
< >
143
142
{ " " }
You can’t perform that action at this time.
0 commit comments