ファクタリング

This commit is contained in:
harukin-expo-dev-env 2025-07-15 02:58:57 +00:00
parent e6adf775bb
commit fbd76a0cf6
2 changed files with 3 additions and 19 deletions

View File

@ -1,9 +1,6 @@
import { AS } from "@/storageControl";
import { useBottomTabBarHeight } from "@react-navigation/bottom-tabs";
import React, { useEffect, useRef } from "react";
import { useWindowDimensions } from "react-native";
import React from "react";
import {
View,
TouchableOpacity,
Text,
LayoutAnimation,
@ -16,8 +13,6 @@ import { SearchUnitBox } from "@/components/Menu/RailScope/SearchUnitBox";
export const CarouselTypeChanger = ({
locationStatus,
position,
mapsRef,
scrollRef,
stationListMode,
setStationListMode,
setSelectedCurrentStation,
@ -25,13 +20,9 @@ export const CarouselTypeChanger = ({
setMapMode,
isSearchMode,
setisSearchMode,
listUpStation,
setListUpStation,
input,
setInput
input,
setInput,
}) => {
const tabBarHeight = useBottomTabBarHeight();
const { height, width } = useWindowDimensions();
const returnToDefaultMode = () => {
LayoutAnimation.configureNext({
duration: 300,

View File

@ -368,8 +368,6 @@ export default function Menu(props) {
{...{
locationStatus,
position,
mapsRef,
scrollRef,
stationListMode,
setStationListMode,
setSelectedCurrentStation: setListIndex,
@ -377,8 +375,6 @@ export default function Menu(props) {
setMapMode,
isSearchMode,
setisSearchMode,
listUpStation,
setListUpStation,
input,
setInput,
}}
@ -418,7 +414,6 @@ export default function Menu(props) {
{...{
locationStatus,
position,
mapsRef,
stationListMode,
setStationListMode,
setSelectedCurrentStation: setListIndex,
@ -426,8 +421,6 @@ export default function Menu(props) {
setMapMode,
isSearchMode,
setisSearchMode,
listUpStation,
setListUpStation,
input,
setInput,
}}