mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-12-03 03:11:23 +01:00
move states to state.js and import them in origin
This commit is contained in:
1 parent
f1e15b076c
commit
d20483737a
2 files changed
+16
-3
No files matched your search
@@ -1,6 +1,9 @@
|
|||||||
const LIKED_STATE = "LIKED_STATE";
|
import {
|
||||||
const DISLIKED_STATE = "DISLIKED_STATE";
|
LIKED_STATE,
|
||||||
const NEUTRAL_STATE = "NEUTRAL_STATE";
|
DISLIKED_STATE,
|
||||||
|
NEUTRAL_STATE,
|
||||||
|
} from "./src/state";
|
||||||
|
|
||||||
|
|
||||||
let storedData = {
|
let storedData = {
|
||||||
likes: 0,
|
likes: 0,
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
const LIKED_STATE = "LIKED_STATE";
|
||||||
|
const DISLIKED_STATE = "DISLIKED_STATE";
|
||||||
|
const NEUTRAL_STATE = "NEUTRAL_STATE";
|
||||||
|
|
||||||
|
|
||||||
|
export {
|
||||||
|
LIKED_STATE,
|
||||||
|
DISLIKED_STATE,
|
||||||
|
NEUTRAL_STATE,
|
||||||
|
};
|
||||||
Reference in new issue
Block a user