Skip to content

Colota - Android GPS Location tracker

style: move styles export after declaration to fix CodeQL warning

Max Dietrichae625e370685
diff --git a/apps/mobile/src/components/features/map/MapActionButton.tsx b/apps/mobile/src/components/features/map/MapActionButton.tsx
index 8c6d92c2..b3d182ec 100644
--- a/apps/mobile/src/components/features/map/MapActionButton.tsx
+++ b/apps/mobile/src/components/features/map/MapActionButton.tsx
@@ -13,8 +13,6 @@ interface Props {
children: React.ReactNode
}
-export { styles as mapActionStyles }
-
export function MapActionButton({ onPress, style, children }: Props) {
const { colors } = useTheme()
@@ -53,3 +51,5 @@ const styles = StyleSheet.create({
right: { right: 16 },
left: { left: 16 }
})
+
+export { styles as mapActionStyles }