Skip to content

Commit

Permalink
馃悰 Fix typo: opened to open (#908)
Browse files Browse the repository at this point in the history
  • Loading branch information
punkstarman committed Mar 11, 2023
1 parent fe7ab33 commit 9bca592
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Conference Hall

**Conference Hall** is an opened SaaS platform to manage call for papers and speaker submissions for your conferences and meetups. Any speaker writes a talk once and can submit it to every event of the platform.
**Conference Hall** is an open SaaS platform to manage call for papers and speaker submissions for your conferences and meetups. Any speaker writes a talk once and can submit it to every event of the platform.

**Application:** **[https://conference-hall.io](https://conference-hall.io)**

Expand Down
12 changes: 6 additions & 6 deletions functions/direct/submission.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ const submitTalk = async ({ eventId, talk, userTimezone, initialize }, context)

const event = await getEvent(eventId)

const isCfpOpened = getCfpState({ event, userTimezone }) === 'opened'
if (!isCfpOpened) {
const isCfpOpen = getCfpState({ event, userTimezone }) === 'opened'
if (!isCfpOpen) {
throw new functions.https.HttpsError(
'failed-precondition',
"Can't submit, CFP is not opened anymore.",
"Can't submit, CFP is not open anymore.",
)
}
// check limit of proposals when creating a new submission
Expand Down Expand Up @@ -98,11 +98,11 @@ const unsubmitTalk = async ({ eventId, talk, userTimezone, initialize }, context

const event = await getEvent(eventId)

const isCfpOpened = getCfpState({ event, userTimezone }) === 'opened'
if (!isCfpOpened) {
const isCfpOpen = getCfpState({ event, userTimezone }) === 'opened'
if (!isCfpOpen) {
throw new functions.https.HttpsError(
'failed-precondition',
"Can't unsubmit, CFP is not opened anymore.",
"Can't unsubmit, CFP is not open anymore.",
)
}

Expand Down
2 changes: 1 addition & 1 deletion src/features/event/page/cfpBlock/cfpBlock.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class CfpBlock extends Component {
renderCfpLabel = () => {
const { cfpState } = this.props
if (cfpState === 'not-started') return 'is not open yet'
if (cfpState === 'opened') return 'is opened'
if (cfpState === 'opened') return 'is open'
return 'is closed'
}

Expand Down

0 comments on commit 9bca592

Please sign in to comment.