fix(curriculum): fix whitespaces in storytelling app (#58956)

This commit is contained in:
JungLee-Dev 2025-02-24 07:33:13 -07:00 committed by GitHub
parent dc9eeb3ffa
commit 1a227b8ebd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 8 deletions

View File

@ -141,12 +141,10 @@ const storyObj = {
};
function displayStory(genre) {
if (storyObj.hasOwnProperty(genre)) {
if (storyObj.hasOwnProperty(genre)) {
result.textContent = storyObj[genre].story;
storyContainer.style.borderColor = storyObj[genre].borderColor;
}
}
}
--fcc-editable-region--

View File

@ -78,12 +78,10 @@ const storyObj = {
};
function displayStory(genre) {
if (storyObj.hasOwnProperty(genre)) {
if (storyObj.hasOwnProperty(genre)) {
result.textContent = storyObj[genre].story;
storyContainer.style.borderColor = storyObj[genre].borderColor;
}
}
}
--fcc-editable-region--