Skip to content

Commit 886e876

Browse files
committed
part 6 banner
1 parent 92ea7b9 commit 886e876

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/components/InfoBanner.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ const InfoBanner = ({ visible, onHide }) => {
4343
return (
4444
<div style={style}>
4545
<div stule={textStyle}>
46-
Numbering of the exercises in part 2 has changed!
46+
<p>Part 6 has new content about React Query, useReducer hook and React contect.</p>
47+
<p>The new content replaces the chapter on Redux connect (that still remains online for a while).</p>
48+
<div style={{ marginTop: 10 }}><i>If you have already completed the part 6, this change has no effect on your progress.</i></div>
4749
</div>
4850
<div style={buttonDiv}>
4951
<button style={buttonStyle} onClick={onHide}>

src/components/layout.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import Footer from './Footer/Footer';
1010
import PropTypes from 'prop-types';
1111
import SkipToContent from './SkipToContent/SkipToContent';
1212

13-
const BANNER_TO_KEY = 'exercise_numbering_part2_seen';
13+
const BANNER_TO_KEY = 'part_6_changes';
1414

1515
const Layout = props => {
1616
const { i18n } = useTranslation();

src/content/6/fi/osa6e.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ letter: e
55
lang: fi
66
---
77

8-
9-
108
<div class="tasks">
119

1210
**HUOM**: tämä on osan 6 vanha päätösluku joka korvattiin 30.1.2023 [uudella luvulla](/osa6/react_query_use_reducer_ja_contex), joka käsittelee React Queryä, useReduceria ja contextia. Tämä luku säilyy nähtävillä muutaman viikon ajan.

0 commit comments

Comments
 (0)