simple website with default airports
This commit is contained in:
7
src/js/state.ts
Normal file
7
src/js/state.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { atom } from "recoil";
|
||||
import { Airport } from "./airport";
|
||||
|
||||
export const airportsState = atom({
|
||||
key: 'airportsState',
|
||||
default: [] as Airport[]
|
||||
});
|
||||
Reference in New Issue
Block a user