sparkletown/sparkle

View on GitHub
src/components/templates/AnimateMap/hooks/useRecentLocationsUsers.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { User } from "types/User";
import { AnyVenue } from "types/venues";

import { WithId } from "utils/id";

export interface RecentLocationsUsersData {
  isSuccess: boolean;
  name: string;
  id: string;
  users: readonly WithId<User>[];
}

// @debt Beavers need to refactor this

export const useRecentLocationsUsers = (
  venues: WithId<AnyVenue>[]
): Array<RecentLocationsUsersData> => [];