Skip to content

Commit 768909c

Browse files
committed
Lint fix
1 parent 3b8b16c commit 768909c

File tree

3 files changed

+18
-10
lines changed

3 files changed

+18
-10
lines changed

src/js/worklets/communities.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,16 @@ export function useSheetStyles({ scrollAmount, expandHeaderThreshold, sheetDispl
8181

8282
export function useNameStyles({ scrollAmount, expandHeaderThreshold, textMovementThreshold }) {
8383
return useAnimatedStyle(() => {
84-
const animationProgress = interpolate(scrollAmount.value, [textMovementThreshold, expandHeaderThreshold], [0, 40], 'clamp');
84+
const animationProgress = interpolate(
85+
scrollAmount.value,
86+
[textMovementThreshold, expandHeaderThreshold],
87+
[0, 40],
88+
'clamp',
89+
);
8590
return {
8691
marginRight: animationProgress,
8792
transform: [
88-
{translateX: animationProgress},
93+
{ translateX: animationProgress },
8994
{
9095
translateY: interpolate(
9196
scrollAmount.value,

src/quo/components/navigation/page_nav/style.cljs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
(defn right-content
3535
[min-size? centered-content?]
3636
(cond-> {}
37-
centered-content? (assoc :flex-grow 1 :flex-basis 1)
37+
centered-content? (assoc :flex-grow 1
38+
:flex-basis 1)
3839
min-size? (assoc :min-height 32)))
3940

4041
(def token-logo

src/status_im/contexts/communities/overview/view.cljs

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -363,15 +363,17 @@
363363
:text-movement-threshold text-movement-threshold})]
364364
[rn/view {:style style/community-name-and-description}
365365
[reanimated/view {:style name-styles}
366-
[quo/text {:accessibility-label :community-title
367-
:weight :semi-bold
368-
:size :heading-1
369-
:number-of-lines 1}
366+
[quo/text
367+
{:accessibility-label :community-title
368+
:weight :semi-bold
369+
:size :heading-1
370+
:number-of-lines 1}
370371
community-name]]
371372
[reanimated/view {:style [{:opacity 0} info-styles]}
372-
[quo/text {:accessibility-label :community-description
373-
:weight :regular
374-
:size :paragraph-1}
373+
[quo/text
374+
{:accessibility-label :community-description
375+
:weight :regular
376+
:size :paragraph-1}
375377
community-description]]]))
376378

377379
(defn- community-info-tags

0 commit comments

Comments
 (0)