mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-12 15:01:38 +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) {
|
||||
console.log(data);
|
||||
unread(data, state);
|
||||
read(data, state);
|
||||
archive(data, state);
|
||||
@ -190,7 +189,6 @@ function unreadEach(json: any, state: HarkState) {
|
||||
function unreads(json: any, state: HarkState) {
|
||||
const data = _.get(json, 'unreads');
|
||||
if(data) {
|
||||
console.log(data);
|
||||
data.forEach(({ index, stats }) => {
|
||||
const { unreads, notifications, last } = stats;
|
||||
updateNotificationStats(state, index, 'notifications', x => x + notifications);
|
||||
|
Loading…
Reference in New Issue
Block a user