feat: default export TeamPanel
This commit is contained in:
parent
e701ebbb02
commit
0507b9f7c4
@ -3,7 +3,7 @@ import { apiAuth, loadPlayers, User } from "./api";
|
|||||||
import { useSession } from "./Session";
|
import { useSession } from "./Session";
|
||||||
import { ErrorState } from "./types";
|
import { ErrorState } from "./types";
|
||||||
|
|
||||||
export const TeamPanel = () => {
|
const TeamPanel = () => {
|
||||||
const { teams } = useSession();
|
const { teams } = useSession();
|
||||||
const newPlayerTemplate = {
|
const newPlayerTemplate = {
|
||||||
id: 0,
|
id: 0,
|
||||||
@ -199,3 +199,4 @@ export const TeamPanel = () => {
|
|||||||
);
|
);
|
||||||
} else <span className="loader" />;
|
} else <span className="loader" />;
|
||||||
};
|
};
|
||||||
|
export default TeamPanel;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user