resistants/src/getResistantPageUrl.tsx

6 lines
215 B
TypeScript

import { Resistant } from "./Resistant";
import { getResistantsPageUrl } from "./getResistantsPageUrl";
export const getResistantPageUrl = (resistant: Resistant) =>
`${getResistantsPageUrl()}/#/${resistant.id}`;