Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

Commit

Permalink
Merge pull request #1606 from docker/remove-localstorage
Browse files Browse the repository at this point in the history
Remove localstorage
  • Loading branch information
FrenchBen committed Apr 6, 2016
2 parents be6d986 + ff06972 commit fb0445a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions src/components/ContainerHome.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ var ContainerHome = React.createClass({
},

handleErrorClick: function () {
// Display wiki for proxy: https://github.com/docker/kitematic/wiki/Common-Proxy-Issues-&-Fixes
shell.openExternal('https://github.com/kitematic/kitematic/issues/new');
},

Expand Down
2 changes: 0 additions & 2 deletions src/utils/SetupUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export default {

async useVbox () {
metrics.track('Retried Setup with VBox');
localStorage.setItem('settings.useNative', false);
router.get().transitionTo('loading');
setupServerActions.error({ error: { message: null }});
_retryPromise.resolve();
Expand Down Expand Up @@ -70,7 +69,6 @@ export default {
while (true) {
try {
if (util.isNative()) {
localStorage.setItem('setting.useNative', true);
let stats = fs.statSync('/var/run/docker.sock');
if (stats.isSocket()) {
await this.nativeSetup();
Expand Down
1 change: 0 additions & 1 deletion src/utils/Util.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ module.exports = {
return process.platform === 'linux';
},
isNative: function () {
// let native = JSON.parse(localStorage.getItem('settings.useNative'));
let native = null;
if (native === null) {
try {
Expand Down

0 comments on commit fb0445a

Please sign in to comment.