File tree Expand file tree Collapse file tree 2 files changed +125
-1635
lines changed Expand file tree Collapse file tree 2 files changed +125
-1635
lines changed Original file line number Diff line number Diff line change 1
1
import React , { useState } from "react" ;
2
2
import { Grid } from "@material-ui/core" ;
3
3
import { Close as CloseIcon } from "@material-ui/icons" ;
4
- import { useTheme } from "@material-ui/styles" ;
5
4
import { ToastContainer , toast } from "react-toastify" ;
6
5
import SyntaxHighlighter from "react-syntax-highlighter" ;
7
6
import { docco } from "react-syntax-highlighter/dist/esm/styles/hljs" ;
@@ -27,7 +26,6 @@ const positions = [
27
26
] ;
28
27
29
28
export default function NotificationsPage ( props ) {
30
- var theme = useTheme ( ) ;
31
29
var classes = useStyles ( ) ;
32
30
33
31
// local
@@ -124,7 +122,7 @@ export default function NotificationsPage(props) {
124
122
</ Button >
125
123
< Button
126
124
variant = "contained"
127
- style = { { color : theme . palette . success . main } }
125
+ color = " success"
128
126
onClick = { ( ) => handleNotificationCall ( "success" ) }
129
127
className = { classnames ( classes . notificationCallButton ) }
130
128
>
You can’t perform that action at this time.
0 commit comments