@flare/tuitio-client-react

master
Tudor Stanciu 2023-02-15 01:25:18 +02:00
parent 4ad8c1657d
commit f6fbdd94f7
6 changed files with 8 additions and 8 deletions

6
package-lock.json generated
View File

@ -1353,10 +1353,10 @@
} }
} }
}, },
"@flare/tuitio-react-client": { "@flare/tuitio-client-react": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://lab.code-rove.com/public-node-registry/@flare/tuitio-react-client/-/tuitio-react-client-1.0.0.tgz", "resolved": "https://lab.code-rove.com/public-node-registry/@flare/tuitio-client-react/-/tuitio-client-react-1.0.0.tgz",
"integrity": "sha512-bRYG7VpXG3tg0y1ZllqBxRCPCAU+++I1jmGBmVegB+mW9IwxBuEAiB7oRGq+EqZ96V/HcC0a1Zaq4ajMfezrxQ==", "integrity": "sha512-iIsyteZaCLXQCAFAnifYq6Stw7Jg72id7Ky/b3hB8ZGaNkrTDKDsmLTW7a2bHWljcFbCbYuRXrmHgpt8YJ6Hzg==",
"requires": { "requires": {
"@flare/tuitio-client": "^1.0.4" "@flare/tuitio-client": "^1.0.4"
} }

View File

@ -13,7 +13,7 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@flare/tuitio-react-client": "^1.0.0", "@flare/tuitio-client-react": "^1.0.0",
"@material-ui/core": "^4.11.2", "@material-ui/core": "^4.11.2",
"@material-ui/icons": "^4.11.2", "@material-ui/icons": "^4.11.2",
"@testing-library/jest-dom": "^5.11.6", "@testing-library/jest-dom": "^5.11.6",

View File

@ -2,7 +2,7 @@ import React from "react";
import ApplicationStepper from "./stepper/ApplicationStepper"; import ApplicationStepper from "./stepper/ApplicationStepper";
import Switcher from "./Switcher"; import Switcher from "./Switcher";
import { makeStyles } from "@material-ui/core/styles"; import { makeStyles } from "@material-ui/core/styles";
import { useTuitioToken } from "@flare/tuitio-react-client"; import { useTuitioToken } from "@flare/tuitio-client-react";
import LoginContainer from "../../features/login/components/LoginContainer"; import LoginContainer from "../../features/login/components/LoginContainer";
const useStyles = makeStyles(() => ({ const useStyles = makeStyles(() => ({

View File

@ -18,7 +18,7 @@ import LoginComponent from "./LoginComponent";
import { useTranslation } from "react-i18next"; import { useTranslation } from "react-i18next";
import { useToast } from "../../../hooks"; import { useToast } from "../../../hooks";
import styles from "../styles"; import styles from "../styles";
import { useTuitioUser } from "@flare/tuitio-react-client"; import { useTuitioUser } from "@flare/tuitio-client-react";
const useStyles = makeStyles(styles); const useStyles = makeStyles(styles);

View File

@ -3,7 +3,7 @@ import LoginCard from "./LoginCard";
import { useToast } from "../../../hooks"; import { useToast } from "../../../hooks";
import { useTranslation } from "react-i18next"; import { useTranslation } from "react-i18next";
import LoggedInComponent from "./LoggedInComponent"; import LoggedInComponent from "./LoggedInComponent";
import { useTuitioClient, useTuitioToken } from "@flare/tuitio-react-client"; import { useTuitioClient, useTuitioToken } from "@flare/tuitio-client-react";
const LoginContainer = () => { const LoginContainer = () => {
const [credentials, setCredentials] = useState({ const [credentials, setCredentials] = useState({

View File

@ -4,7 +4,7 @@ import "./index.css";
import "./utils/i18n"; import "./utils/i18n";
import App from "./components/App"; import App from "./components/App";
import { BrowserRouter as Router } from "react-router-dom"; import { BrowserRouter as Router } from "react-router-dom";
import { TuitioProvider } from "@flare/tuitio-react-client"; import { TuitioProvider } from "@flare/tuitio-client-react";
ReactDOM.render( ReactDOM.render(
<Router basename={process.env.PUBLIC_URL || ""}> <Router basename={process.env.PUBLIC_URL || ""}>