moved loading logic to eventManager
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import * as eventManager from '$lib/server/eventManager';
|
||||
import { getAllInitialInfo } from '$lib/server/eventManager';
|
||||
|
||||
// Literally only here so that the frontend has the right structure
|
||||
export const load = async () => {
|
||||
return await eventManager.getTeams();
|
||||
return await getAllInitialInfo();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user