You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was studying your project to practice my front-end skills and I notice some inconsistency on READ.me part (more specifically in Types section). As you can see in the prints, the MarketType is using markets as type instead selections.
I tried to open one PR fixing this point but i don't have access push updates to the repository. Here below i'll let the correct type and prints that show the error on my console. I got the json from the file data.json available in the test.
Hi, I was studying your project to practice my front-end skills and I notice some inconsistency on READ.me part (more specifically in Types section). As you can see in the prints, the MarketType is using markets as type instead selections.
I tried to open one PR fixing this point but i don't have access push updates to the repository. Here below i'll let the correct type and prints that show the error on my console. I got the json from the file data.json available in the test.
Wish you all the bests
Fixed version:
type EventType = {
id: string;
name: string;
markets: MarketType[];
};
/** Market Entity */
type MarketType = {
id: string;
name: string;
selections: SelectionType[];
}
/** Selection Entity */
type SelectionType = {
id: string;
name: string;
price: number;
}
Evidence:
The text was updated successfully, but these errors were encountered: