Changeset View
Changeset View
Standalone View
Standalone View
web/sidebar/community-creation/community-creation-modal.react.js
Show All 24 Lines | |||||
import Modal from '../../modals/modal.react.js'; | import Modal from '../../modals/modal.react.js'; | ||||
import { updateNavInfoActionType } from '../../redux/action-types.js'; | import { updateNavInfoActionType } from '../../redux/action-types.js'; | ||||
import { useSelector } from '../../redux/redux-utils.js'; | import { useSelector } from '../../redux/redux-utils.js'; | ||||
import { nonThreadCalendarQuery } from '../../selectors/nav-selectors.js'; | import { nonThreadCalendarQuery } from '../../selectors/nav-selectors.js'; | ||||
const announcementStatements = [ | const announcementStatements = [ | ||||
{ | { | ||||
statement: | statement: | ||||
`This option sets the community's root channel to an ` + | `This option sets the community's root channel to an ` + | ||||
`announcement channel. Only admins and other admin-appointed ` + | `announcement channel. Only admins and other admin-appointed ` + | ||||
`roles can send messages in an announcement channel.`, | `roles can send messages in an announcement channel.`, | ||||
isStatementValid: true, | isStatementValid: true, | ||||
styleStatementBasedOnValidity: false, | styleStatementBasedOnValidity: false, | ||||
}, | }, | ||||
]; | ]; | ||||
const createNewCommunityLoadingStatusSelector = | const createNewCommunityLoadingStatusSelector = | ||||
▲ Show 20 Lines • Show All 172 Lines • Show Last 20 Lines |