website refactor
This commit is contained in:
9
apps/website/hooks/league/useCreateLeague.ts
Normal file
9
apps/website/hooks/league/useCreateLeague.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { useCreateLeagueWithBlockers } from './useCreateLeagueWithBlockers';
|
||||
|
||||
/**
|
||||
* @deprecated Use useCreateLeagueWithBlockers instead
|
||||
* This wrapper maintains backward compatibility while using the new blocker-aware hook
|
||||
*/
|
||||
export function useCreateLeague() {
|
||||
return useCreateLeagueWithBlockers();
|
||||
}
|
||||
Reference in New Issue
Block a user