run lint
This commit is contained in:
parent
334ec7175e
commit
e9a30dbbe1
60 changed files with 151 additions and 133 deletions
|
@ -1,5 +1,5 @@
|
|||
const timelineVisibleUnauthenticated = (state, timeline) => (
|
||||
state.instance.publicTimelineVisibility[timeline] ?? false
|
||||
const timelineVisibleUnauthenticated = (state, timeline) => (
|
||||
state.instance.publicTimelineVisibility[timeline] ?? false
|
||||
);
|
||||
|
||||
const currentUser = (state) => state.users.currentUser;
|
||||
|
@ -19,5 +19,7 @@ export const publicTimelineVisible = (state) => (
|
|||
);
|
||||
|
||||
export const bubbleTimelineVisible = (state) => (
|
||||
state.instance.localBubbleInstances.length > 0 && currentUserOrTimelineVisibleUnauthenticated(state, 'bubble')
|
||||
//state.instance.localBubbleInstances.length > 0 &&
|
||||
// TODO does sharkey have a way to see this?
|
||||
currentUserOrTimelineVisibleUnauthenticated(state, 'bubble')
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue