• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

EcrituresNumeriques / stylo / 12925854411

23 Jan 2025 09:11AM UTC coverage: 25.831% (-4.7%) from 30.523%
12925854411

push

github

web-flow
Merge pull request #1192 from EcrituresNumeriques/feat/vite6

322 of 518 branches covered (62.16%)

Branch coverage included in aggregate %.

3448 of 14077 relevant lines covered (24.49%)

1.66 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/front/src/components/collaborative/CollaborativeSessionError.jsx
1
import React from 'react'
×
2
import { Text, Code } from '@geist-ui/core'
×
3
import { useParams } from 'react-router-dom'
×
4
import ErrorMessageCard from '../ErrorMessageCard.jsx'
×
5

6
export default function CollaborativeSessionError({ error }) {
×
7
  const { sessionId: collaborativeSessionId } = useParams()
×
8

9
  if (error === 'notFound') {
×
10
    return (
×
11
      <ErrorMessageCard title="Important">
×
12
        <Text>
×
13
          This collaborative session <Code>{collaborativeSessionId}</Code> has
×
14
          ended.
15
        </Text>
×
16
        <Text>Please start a new one.</Text>
×
17
      </ErrorMessageCard>
×
18
    )
19
  }
×
20
  return (
×
21
    <ErrorMessageCard title="Error">
×
22
      <Text>Unexpected error!</Text>
×
23
    </ErrorMessageCard>
×
24
  )
25
}
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc