Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
telehealth-frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Рогов Артем Владимирович
telehealth-frontend
Commits
f7361c04
Commit
f7361c04
authored
Nov 08, 2023
by
konstantin-smirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DMVP-1032 - fix
parent
c47ad8b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
DropCallButton.tsx
src/components/Buttons/EndCallButton/DropCallButton.tsx
+0
-1
EndCallButton.tsx
src/components/Buttons/EndCallButton/EndCallButton.tsx
+4
-3
No files found.
src/components/Buttons/EndCallButton/DropCallButton.tsx
View file @
f7361c04
...
...
@@ -4,7 +4,6 @@ import { createStyles, makeStyles, Theme } from '@material-ui/core/styles';
import
{
Button
}
from
'@material-ui/core'
;
import
CallEndIcon
from
'../../../icons/CallEndIcon'
;
import
useKeycloakAuth
from
'../../../state/useKeycloakAuth/useKeycloakAuth'
;
import
useVideoContext
from
'../../../hooks/useVideoContext/useVideoContext'
;
import
{
useAppState
}
from
'../../../state'
;
...
...
src/components/Buttons/EndCallButton/EndCallButton.tsx
View file @
f7361c04
...
...
@@ -3,16 +3,17 @@ import clsx from 'clsx';
import
{
createStyles
,
makeStyles
,
Theme
}
from
'@material-ui/core/styles'
;
import
{
Button
}
from
'@material-ui/core'
;
import
CallEndIcon
from
'../../../icons/CallEndIcon'
;
import
useVideoContext
from
'../../../hooks/useVideoContext/useVideoContext'
;
const
useStyles
=
makeStyles
((
theme
:
Theme
)
=>
createStyles
({
button
:
{
background
:
theme
.
brand
,
background
:
'none'
,
color
:
'white'
,
'&:hover'
:
{
background
:
'
#600101
'
,
background
:
'
none
'
,
},
},
})
...
...
@@ -24,7 +25,7 @@ export default function EndCallButton(props: { className?: string }) {
return
(
<
Button
onClick=
{
()
=>
room
!
.
disconnect
()
}
className=
{
clsx
(
classes
.
button
,
props
.
className
)
}
data
-
cy
-
disconnect
>
Disconnect
<
CallEndIcon
/>
</
Button
>
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment