mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-13 11:45:45 +03:00
landscape: remove hark-update printfs
This commit is contained in:
parent
af03292f48
commit
8538b4fd7b
@ -128,7 +128,6 @@ function graphWatchSelf(json: any, state: HarkState) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function reduce(data: any, state: HarkState) {
|
function reduce(data: any, state: HarkState) {
|
||||||
console.log(data);
|
|
||||||
unread(data, state);
|
unread(data, state);
|
||||||
read(data, state);
|
read(data, state);
|
||||||
archive(data, state);
|
archive(data, state);
|
||||||
@ -190,7 +189,6 @@ function unreadEach(json: any, state: HarkState) {
|
|||||||
function unreads(json: any, state: HarkState) {
|
function unreads(json: any, state: HarkState) {
|
||||||
const data = _.get(json, 'unreads');
|
const data = _.get(json, 'unreads');
|
||||||
if(data) {
|
if(data) {
|
||||||
console.log(data);
|
|
||||||
data.forEach(({ index, stats }) => {
|
data.forEach(({ index, stats }) => {
|
||||||
const { unreads, notifications, last } = stats;
|
const { unreads, notifications, last } = stats;
|
||||||
updateNotificationStats(state, index, 'notifications', x => x + notifications);
|
updateNotificationStats(state, index, 'notifications', x => x + notifications);
|
||||||
|
Loading…
Reference in New Issue
Block a user