@selfcommunity/react-ui 0.10.5-alpha.11 → 0.10.5-alpha.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -140,7 +140,7 @@ function LiveStreamRoom(inProps) {
140
140
  _msg = ((0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: _error, defaultMessage: _error, values: {
141
141
  link: (...chunks) => ((0, jsx_runtime_1.jsx)(react_core_1.Link, Object.assign({ style: { color: '#FFF' }, to: error.response.data.errors[0].code === types_1.SCLiveStreamConnectionDetailsErrorType.PARTICIPATE_THE_EVENT_TO_JOIN_LIVE_STREAM &&
142
142
  scLiveStream.event
143
- ? scRoutingContext.url(react_core_1.SCRoutes.EVENTS_ROUTE_NAME, scLiveStream.event)
143
+ ? scRoutingContext.url(react_core_1.SCRoutes.EVENT_ROUTE_NAME, scLiveStream.event)
144
144
  : '/' }, { children: chunks })))
145
145
  } }));
146
146
  if (error.response.data.errors[0].code !== types_1.SCLiveStreamConnectionDetailsErrorType.WAITING_HOST_TO_START_LIVE_STREAM &&
@@ -138,7 +138,7 @@ export default function LiveStreamRoom(inProps) {
138
138
  _msg = (_jsx(FormattedMessage, { id: _error, defaultMessage: _error, values: {
139
139
  link: (...chunks) => (_jsx(Link, Object.assign({ style: { color: '#FFF' }, to: error.response.data.errors[0].code === SCLiveStreamConnectionDetailsErrorType.PARTICIPATE_THE_EVENT_TO_JOIN_LIVE_STREAM &&
140
140
  scLiveStream.event
141
- ? scRoutingContext.url(SCRoutes.EVENTS_ROUTE_NAME, scLiveStream.event)
141
+ ? scRoutingContext.url(SCRoutes.EVENT_ROUTE_NAME, scLiveStream.event)
142
142
  : '/' }, { children: chunks })))
143
143
  } }));
144
144
  if (error.response.data.errors[0].code !== SCLiveStreamConnectionDetailsErrorType.WAITING_HOST_TO_START_LIVE_STREAM &&