Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.

Commit

Permalink
Merge pull request #20 from ssig33/change-my-snackbar-position-to-bottom
Browse files Browse the repository at this point in the history
Change my snackbar position to bottom
  • Loading branch information
yuiseki committed Jan 24, 2020
2 parents 6ac0a59 + 0823a85 commit 609c7be
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 46 deletions.
81 changes: 39 additions & 42 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
},
"dependencies": {
"@hot-loader/react-dom": "^16.11.0",
"@material-ui/core": "^4.8.3",
"@material-ui/core": "^4.9.0",
"@material-ui/icons": "^4.5.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-hot-keys": "^2.4.5",
"react-hot-loader": "^4.12.18"
"react-hot-loader": "^4.12.19"
},
"devDependencies": {
"@babel/core": "^7.8.3",
Expand Down
4 changes: 2 additions & 2 deletions src/components/MySnackbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import React from 'react';
export const MySnackbar = ({ open, setOpen, message }) => (
<Snackbar
open={open}
autoHideDuration={2000}
autoHideDuration={1000}
onClose={() => setOpen(false)}
message={message}
anchorOrigin={{
vertical: 'top',
vertical: 'bottom',
horizontal: 'left',
}}
/>
Expand Down
1 change: 1 addition & 0 deletions start
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ssh-agent

0 comments on commit 609c7be

Please sign in to comment.