Skip to content

Commit bea04a1

Browse files
authored
Merge pull request #28 from pseudolab/fix/bug_comma
fix(bingo): comma to pipe
2 parents c3d40f7 + 0e2fec9 commit bea04a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/modules/Bingo/BingoContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const BingoContainer = () => {
6565
selected: [myWord1, myWord2, myWord3, myWord4].includes(item.value) ? 1 : 0,
6666
});
6767
});
68-
localStorage.setItem("myWordList", [myWord1, myWord2, myWord3, myWord4].join(","));
68+
localStorage.setItem("myWordList", [myWord1, myWord2, myWord3, myWord4].join("|"));
6969

7070
if (MyID.value != "") {
7171
const result = await singUpUser(MyID.value);

src/modules/Bingo/BingoPresenter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ const BingoPresenter = (props: BingoPresenterProps) => {
194194
key={value}
195195
value={value}
196196
status={status}
197-
recent_list={props.recentWords.split(",")}
197+
recent_list={props.recentWords.split("|")}
198198
/>
199199
))}
200200
</BingoContainer>

0 commit comments

Comments
 (0)