import { createContext, useContext } from 'react';
import { optionsByFormat } from '../formatOptions';
export const LeaderboardFormatContext = createContext(optionsByFormat.defaultOptions);
export function useLeaderboardFormatContext() {
  return useContext(LeaderboardFormatContext);
}