@swype-org/react-sdk 0.1.109 → 0.1.110
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +6 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2204,7 +2204,7 @@ var containerStyle = {
|
|
|
2204
2204
|
display: "flex",
|
|
2205
2205
|
alignItems: "center",
|
|
2206
2206
|
justifyContent: "center",
|
|
2207
|
-
|
|
2207
|
+
height: "100%",
|
|
2208
2208
|
flex: 1,
|
|
2209
2209
|
background: "transparent"
|
|
2210
2210
|
};
|
|
@@ -2246,7 +2246,7 @@ function ScreenLayout({ children, footer }) {
|
|
|
2246
2246
|
var containerStyle2 = (bg) => ({
|
|
2247
2247
|
display: "flex",
|
|
2248
2248
|
flexDirection: "column",
|
|
2249
|
-
|
|
2249
|
+
height: "100%",
|
|
2250
2250
|
maxWidth: 420,
|
|
2251
2251
|
width: "100%",
|
|
2252
2252
|
margin: "0 auto",
|
|
@@ -5218,7 +5218,10 @@ function StepRenderer({
|
|
|
5218
5218
|
if (!ready) {
|
|
5219
5219
|
return /* @__PURE__ */ jsx(SwypeLoadingScreen, {});
|
|
5220
5220
|
}
|
|
5221
|
-
if (step === "login"
|
|
5221
|
+
if (step === "login") {
|
|
5222
|
+
if (authenticated) {
|
|
5223
|
+
return /* @__PURE__ */ jsx(SwypeLoadingScreen, {});
|
|
5224
|
+
}
|
|
5222
5225
|
return /* @__PURE__ */ jsx(
|
|
5223
5226
|
LoginScreen,
|
|
5224
5227
|
{
|