不要なimport削除

This commit is contained in:
harukin-expo-dev-env
2024-09-09 06:12:25 +00:00
parent 3d2f84d9d5
commit b50937c63e
6 changed files with 5 additions and 18 deletions

View File

@@ -3,10 +3,8 @@ import React, {
useContext,
useState,
useEffect,
useLayoutEffect,
FC,
} from "react";
import { AS } from "../storageControl";
import { getStationList } from "../lib/getStationList";
type initialStateType = {
@@ -38,12 +36,11 @@ export const StationListProvider: FC<Props> = ({ children }) => {
Object.keys(originalStationList).forEach((key) => {
originalStationList[key].forEach((station) => {
if (station.Station_JP === name) {
if(!!station.jslodApi)returnArray.push(station);
if (!!station.jslodApi) returnArray.push(station);
}
});
});
return returnArray;
};
return (