aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/actions.js
diff options
context:
space:
mode:
authorDan J Miller <danjm.com@gmail.com>2018-09-05 02:49:09 +0800
committerGitHub <noreply@github.com>2018-09-05 02:49:09 +0800
commit86bb96aaaf106f1fa16fa93e749772524b5132b2 (patch)
tree4920f6cff23e5f065fb13352697bbeff52b332ae /ui/app/actions.js
parentb9e4feac489b8c478a7bff935c319588a2c3acf3 (diff)
parent40e0d92f572d4fff14bfac9a2b0a64ffae8ec7c5 (diff)
downloadtangerine-wallet-browser-86bb96aaaf106f1fa16fa93e749772524b5132b2.tar
tangerine-wallet-browser-86bb96aaaf106f1fa16fa93e749772524b5132b2.tar.gz
tangerine-wallet-browser-86bb96aaaf106f1fa16fa93e749772524b5132b2.tar.bz2
tangerine-wallet-browser-86bb96aaaf106f1fa16fa93e749772524b5132b2.tar.lz
tangerine-wallet-browser-86bb96aaaf106f1fa16fa93e749772524b5132b2.tar.xz
tangerine-wallet-browser-86bb96aaaf106f1fa16fa93e749772524b5132b2.tar.zst
tangerine-wallet-browser-86bb96aaaf106f1fa16fa93e749772524b5132b2.zip
Merge pull request #5129 from MetaMask/add-sidebar-component
Add sidebar component
Diffstat (limited to 'ui/app/actions.js')
-rw-r--r--ui/app/actions.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index 845eafdf6..6d5b1ef3f 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -1853,9 +1853,13 @@ function hideModal (payload) {
}
}
-function showSidebar () {
+function showSidebar ({ transitionName, type }) {
return {
type: actions.SIDEBAR_OPEN,
+ value: {
+ transitionName,
+ type,
+ },
}
}