Skip to content

Commit

Permalink
Resolve conflicts with the master
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengdechang1 committed Feb 20, 2023
1 parent 9697720 commit b990ae1
Show file tree
Hide file tree
Showing 2 changed files with 367 additions and 777 deletions.
4 changes: 0 additions & 4 deletions platform/ui/src/contextProviders/SnackbarProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ const SnackbarProvider = ({ children, service }) => {

const [count, setCount] = useState(1);
const [snackbarItems, setSnackbarItems] = useState([]);

const show = useCallback(
options => {
if (!options || (!options.title && !options.message)) {
Expand All @@ -57,7 +56,6 @@ const SnackbarProvider = ({ children, service }) => {
},
[count, DEFAULT_OPTIONS]
);

useEffect(() => {
const onLogHandler = ({ type, notify, title, message }) => {
if (notify) {
Expand All @@ -72,8 +70,6 @@ const SnackbarProvider = ({ children, service }) => {
};
}, [show]);



const hide = useCallback(
id => {
const hideItem = items => {
Expand Down
Loading

0 comments on commit b990ae1

Please sign in to comment.