Skip to content

Commit 8bb2986

Browse files
AndrewAminInstabugMoKamall
authored andcommitted
chore: fix lint
1 parent ca77692 commit 8bb2986

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/default/src/screens/apm/ScreenRender.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable react-native/no-inline-styles */
12
import type { NativeStackScreenProps } from '@react-navigation/native-stack';
23
import React, { useEffect, useRef, useState } from 'react';
34
import {
@@ -112,7 +113,9 @@ const AnimatedBox: React.FC<{ isBlocking: boolean; blockingIntensity: number }>
112113

113114
// Generate many layout-heavy elements to stress native thread
114115
const generateHeavyNativeElements = () => {
115-
if (!isBlocking) return null;
116+
if (!isBlocking) {
117+
return null;
118+
}
116119

117120
const elementCount = blockingIntensity === 1 ? 50 : 200; // More elements = more native work
118121

@@ -440,6 +443,3 @@ const styles = StyleSheet.create({
440443
});
441444

442445
export default ScreenRenderPage;
443-
444-
// Export the screen name constant for navigation
445-
export const SCREEN_NAME = 'ScreenRender';

0 commit comments

Comments
 (0)