15088: Fixes UI on link account failure
[arvados.git] / src / store / resources-data / resources-data.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import { ResourceData, ResourcesDataState } from "~/store/resources-data/resources-data-reducer";
6
7 export const getResourceData = (id: string) =>
8     (state: ResourcesDataState): ResourceData | undefined => state[id];