Remove duplicate variable name

This commit is contained in:
Ismael Padilla 2022-03-15 21:55:25 -03:00
parent 3a11add5e2
commit 7f0f856d19
2 changed files with 4 additions and 12 deletions

11
package-lock.json generated
View File

@ -5,6 +5,7 @@
"requires": true,
"packages": {
"": {
"name": "reddit-slideshow",
"version": "0.1.6",
"dependencies": {
"axios": "^0.26.1",
@ -4825,7 +4826,6 @@
"dependencies": {
"anymatch": "~3.1.2",
"braces": "~3.0.2",
"fsevents": "~2.3.2",
"glob-parent": "~5.1.2",
"is-binary-path": "~2.1.0",
"is-glob": "~4.0.1",
@ -6120,8 +6120,7 @@
"esprima": "^4.0.1",
"estraverse": "^5.2.0",
"esutils": "^2.0.2",
"optionator": "^0.8.1",
"source-map": "~0.6.1"
"optionator": "^0.8.1"
},
"bin": {
"escodegen": "bin/escodegen.js",
@ -9056,7 +9055,6 @@
"@types/node": "*",
"anymatch": "^3.0.3",
"fb-watchman": "^2.0.0",
"fsevents": "^2.3.2",
"graceful-fs": "^4.2.9",
"jest-regex-util": "^27.5.1",
"jest-serializer": "^27.5.1",
@ -10304,7 +10302,6 @@
"resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
"integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
"dependencies": {
"graceful-fs": "^4.1.6",
"universalify": "^2.0.0"
},
"optionalDependencies": {
@ -12891,7 +12888,6 @@
"eslint-webpack-plugin": "^3.1.1",
"file-loader": "^6.2.0",
"fs-extra": "^10.0.0",
"fsevents": "^2.3.2",
"html-webpack-plugin": "^5.5.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.4.3",
@ -13260,9 +13256,6 @@
"version": "2.70.1",
"resolved": "https://registry.npmjs.org/rollup/-/rollup-2.70.1.tgz",
"integrity": "sha512-CRYsI5EuzLbXdxC6RnYhOuRdtz4bhejPMSWjsFLfVM/7w/85n2szZv6yExqUXsBdz5KT8eoubeyDUDjhLHEslA==",
"dependencies": {
"fsevents": "~2.3.2"
},
"bin": {
"rollup": "dist/bin/rollup"
},

View File

@ -5,7 +5,6 @@ import Layout from "../components/Layout/Layout";
import "./App.css";
class App extends Component {
hideUI = false;
state = {
// request: '/r/pics.json',
request: window.location.pathname + ".json",
@ -19,8 +18,8 @@ class App extends Component {
showInfo: true, // show info and buttons at bottom right
auto: false, // autoplay
sound: false,
hideUI: this.hideUI,
hideUIChecked: this.hideUI,
hideUI: false,
hideUIChecked: false,
showNSWF: true,
touchStartX: 0, // used for swipe gestures in mobile
};