This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { Formik, Form } from "formik"; | |
import { Box, Button } from "@chakra-ui/core"; | |
import { Wrapper } from "../components/Wrapper"; | |
import { InputField } from "../components/InputField"; | |
import { toErrorMap } from "../utils/toErrorMap"; | |
import { useRouter } from "next/router"; | |
import { useLoginMutation } from "../generated/graphql"; | |
import { createUrqlClient } from "../utils/createUrqlClient"; | |
import { withUrqlClient } from "next-urql"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { WindowTitle } from "@byso/components/WindowTitle"; | |
import { DEFAULT_INITIAL_SEARCH_DATA } from "@byso/config"; | |
import useNavigator from "@byso/hooks/useNavigator"; | |
import useNotifier from "@byso/hooks/useNotifier"; | |
import usePategorySearch from "@byso/searches/usePategorySearch"; | |
import createMetadataCreateHandler from "@byso/utils/handlers/metadataCreateHandler"; | |
import { | |
useMetadataUpdate, | |
usePrivateMetadataUpdate | |
} from "@byso/utils/metadata/updateMetadata"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { useEffect, useRef, useState } from "react"; | |
import { IFormError, IPaymentGatewayConfig } from "@types"; | |
import { CompleteCheckout_checkoutComplete_order } from "@saleor/sdk/lib/mutations/gqlTypes/CompleteCheckout"; | |
import { ErrorMessage } from "@components/atoms"; | |
interface IResourceConfig { | |
src: string; | |
integrity: string; | |
crossOrigin: string; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let data = { | |
results: [ | |
{ | |
type: "MA", | |
CN: "3", | |
DO: "1", | |
FF: "", | |
FI: "83025411", | |
I2: "1,6", | |
IB: "0", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "MA", | |
"CN": "3", | |
"DO": "1", | |
"FF": "", | |
"FI": "83025411", | |
"I2": "1,6", | |
"IB": "0", | |
"ID": "10124", | |
"IM": "1", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "MA", | |
"CN": "1", | |
"DO": "1", | |
"FF": "", | |
"FI": "83004323", | |
"I2": "1", | |
"IB": "0", | |
"ID": "1777", | |
"IM": "1", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "MA", | |
"CN": "1", | |
"DO": "1", | |
"FF": "", | |
"FI": "0", | |
"IB": "0", | |
"ID": "1777", | |
"IM": "1", | |
"IR": "", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let data = { results: [ | |
{ | |
type: "EVENT", | |
CT: "Zimbabwe Premier Soccer League", | |
FI: "82829971", | |
FULL_TIME: "90", | |
MO: "0", | |
MP: "0", | |
MS: "0", | |
NAME: "Chicken Inn FC v Manica Diamonds FC" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
results: [ | |
{ | |
type: "MARKET", | |
COLUMN_NUMBER: "1", | |
DEFAULT_OPEN: "1", | |
ID: "1777", | |
NAME: "Fulltime ReSUCCESSlt", | |
ORDER: "0" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Rooot = props => { | |
const requireSignIn = generateRequireSignInWrapper({ | |
redirectPathIfNotSignedIn: <Home /> | |
}); | |
const { sports, currentLocale , currentUser } = props; | |
const routes = [ | |
{ | |
path: "/", |
NewerOlder