Skip to content
This repository was archived by the owner on Dec 25, 2022. It is now read-only.

Commit bae29b7

Browse files
authored
Change number split
1 parent 10d6612 commit bae29b7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/Create/Create.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ const Create = () => {
4949
learned: false,
5050
};
5151
});
52-
if (isSplit && listObject.length > 100) {
52+
if (isSplit && listObject.length > 50) {
5353
let a = 0;
54-
for (let i = 0; i < listObject.length; i += 100) {
55-
const t = listObject.slice(i, i + 100);
54+
for (let i = 0; i < listObject.length; i += 50) {
55+
const t = listObject.slice(i, i + 50);
5656
localStorage.setItem(
5757
nanoid(15),
5858
JSON.stringify({
@@ -132,7 +132,7 @@ const Create = () => {
132132
<Card.Divider />
133133
<Spacer />
134134
<div className={classes.butonSwitch}>
135-
<Text css={{ margin: 0 }}>Divided into 100 per course</Text>
135+
<Text css={{ margin: 0 }}>Divided into 50 per course</Text>
136136
<Switch
137137
checked={isSplit}
138138
shadow

0 commit comments

Comments
 (0)