Tab Selector for different Data Visualisations
This commit is contained in:
parent
f23c9dc0f1
commit
6130b331e6
6 changed files with 99 additions and 6 deletions
components/gui/data-handlers
17
components/gui/data-handlers/game-info-handler.tsx
Normal file
17
components/gui/data-handlers/game-info-handler.tsx
Normal file
|
@ -0,0 +1,17 @@
|
|||
import { fetchGameGroups } from "@/components/server/fetchers";
|
||||
import { Game, GameGroup } from "@/types/stellaris";
|
||||
import { Dispatch, SetStateAction } from "react";
|
||||
|
||||
export const GameInfoHandler = async (
|
||||
props: {
|
||||
game: Game,
|
||||
groups: GameGroup[]
|
||||
}) => {
|
||||
if (props) {
|
||||
const currentGame = props.game;
|
||||
const currentGroups = props.groups;
|
||||
|
||||
}
|
||||
|
||||
return <></>
|
||||
}
|
Reference in a new issue