Skip to content

Commit 7aef0d2

Browse files
committed
Revert "Add a notification about the javafx issue"
This reverts commit c238268.
1 parent 8470de0 commit 7aef0d2

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

src/components/Notification.js

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,15 @@ export default class Notification extends React.Component {
4545
}
4646

4747
this.setState({ open: false })
48-
store.set("javafx.shown2", true)
48+
store.set("pajanotification.shown2", true)
4949
}
5050

5151
handleRefresh = () => {
5252
window.location.reload()
5353
}
5454

5555
render() {
56-
if (!this.state.render || store.get("javafx.shown2")) {
56+
if (!this.state.render || store.get("pajanotification.shown2")) {
5757
return <div />
5858
}
5959
return (
@@ -67,9 +67,15 @@ export default class Notification extends React.Component {
6767
<Fragment>
6868
<StyledInfoIcon />
6969
<StyledTypography>
70-
Apologies for the JavaFX issue in some of the exercises in parts
71-
13 and 14! We are currently investigating it and will hopefully
72-
fix it asap.
70+
Pajaohjausta on nyt saatavilla! Pajasta saa apua tehtäviin,
71+
ohjelmointiin ja teknisiin ongelmiin sekä hyvää
72+
ohjelmointiseuraa. Paja sijaitsee Helsingin Kumpulan
73+
kampuksella. Kaikki ovat tervetulleita pajaan! Muut paja-ajat ja
74+
tarkemmat ohjeet löytyvät{" "}
75+
<Link onClick={this.handleClose} to="/tukivaylat">
76+
tukiväylät
77+
</Link>
78+
-sivulta.
7379
</StyledTypography>
7480
</Fragment>
7581
}

src/templates/Layout.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ import {
2929
SMALL_MEDIUM_BREAKPOINT,
3030
} from "../util/constants"
3131
import withSimpleErrorBoundary from "../util/withSimpleErrorBoundary"
32-
import Notification from "../components/Notification"
3332

3433
fontAwesomeConfig.autoAddCss = false
3534

@@ -138,7 +137,6 @@ class Layout extends React.Component {
138137
<SidebarPush>
139138
<TopBar />
140139
<ContentArea mobileMenuOpen={this.state.mobileMenuOpen}>
141-
<Notification />
142140
{children}
143141
</ContentArea>
144142
<PointsBalloon />

0 commit comments

Comments
 (0)