mirror of
https://github.com/Unleash/unleash.git
synced 2025-04-24 01:18:01 +02:00
chore: remove debug logs
This commit is contained in:
parent
98298dc42b
commit
44cac1e7d2
@ -57,7 +57,6 @@ const getUserDataRecord = () =>
|
|||||||
|
|
||||||
const storeData = (data) => {
|
const storeData = (data) => {
|
||||||
const existingData = getUserDataRecord();
|
const existingData = getUserDataRecord();
|
||||||
console.log('this is the existing data:', existingData);
|
|
||||||
localStorage.setItem(
|
localStorage.setItem(
|
||||||
localstorageKey,
|
localstorageKey,
|
||||||
JSON.stringify({
|
JSON.stringify({
|
||||||
@ -112,8 +111,6 @@ export const FeedbackWrapper = ({ seedData, open }) => {
|
|||||||
populateData,
|
populateData,
|
||||||
);
|
);
|
||||||
|
|
||||||
console.log(state, state.data);
|
|
||||||
|
|
||||||
const close = () => dispatch({ kind: 'close' });
|
const close = () => dispatch({ kind: 'close' });
|
||||||
if (feedbackIsOpen) {
|
if (feedbackIsOpen) {
|
||||||
storeData(state);
|
storeData(state);
|
||||||
@ -121,7 +118,6 @@ export const FeedbackWrapper = ({ seedData, open }) => {
|
|||||||
|
|
||||||
const stepForward = () => {
|
const stepForward = () => {
|
||||||
dispatch({ kind: 'step forward' });
|
dispatch({ kind: 'step forward' });
|
||||||
console.log(state);
|
|
||||||
};
|
};
|
||||||
const stepBack = () => {
|
const stepBack = () => {
|
||||||
dispatch({ kind: 'step back' });
|
dispatch({ kind: 'step back' });
|
||||||
@ -206,7 +202,6 @@ export const FeedbackWrapper = ({ seedData, open }) => {
|
|||||||
const value = parseInt(
|
const value = parseInt(
|
||||||
e.target.value,
|
e.target.value,
|
||||||
);
|
);
|
||||||
console.log('the value is', value);
|
|
||||||
setNewValue(value);
|
setNewValue(value);
|
||||||
}}
|
}}
|
||||||
autoFocus={
|
autoFocus={
|
||||||
|
Loading…
Reference in New Issue
Block a user