File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed
Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff 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 }
Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ import {
2929 SMALL_MEDIUM_BREAKPOINT ,
3030} from "../util/constants"
3131import withSimpleErrorBoundary from "../util/withSimpleErrorBoundary"
32- import Notification from "../components/Notification"
3332
3433fontAwesomeConfig . 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 />
You can’t perform that action at this time.
0 commit comments