11import { useState } from "react" ;
2+ import { useStore } from "../../hooks/useStore" ;
23import Button from "../Button" ;
34import FormInput from "../login/FormInput" ;
45import Select from "../Select" ;
5- import { useStore } from "../../hooks/useStore" ;
66
77function LinkPrompt ( ) {
88 const enableGameSync = useStore ( state => state . enableGameSync ) ;
@@ -43,7 +43,9 @@ function LinkPrompt() {
4343 </ Button >
4444 { open ? (
4545 < div className = "popup show" >
46- < div className = "popup-box link-popup" >
46+ < div
47+ className = "popup-box link-popup"
48+ style = { { maxWidth : "300px" } } >
4749 < div className = "mastery-rank" > Link your account</ div >
4850 < FormInput
4951 type = "text"
@@ -59,17 +61,15 @@ function LinkPrompt() {
5961 fontSize : "14px" ,
6062 textAlign : "left" ,
6163 paddingBottom : "10px"
62- } }
63- >
64+ } } >
6465 < a
6566 href = "https://gist.github.com/DaPigGuy/18349a0fd5ad08502305a98f8b115c26#obtaining-your-warframe-account-id"
6667 target = "_blank"
6768 rel = "noopener noreferrer"
6869 style = { {
6970 color : "#bea966" ,
7071 textDecoration : "underline"
71- } }
72- >
72+ } } >
7373 How to get Warframe account ID
7474 </ a >
7575 </ div >
@@ -89,15 +89,24 @@ function LinkPrompt() {
8989 { value : "mobile" , label : "Mobile" }
9090 ] }
9191 />
92+ < div
93+ style = { {
94+ fontSize : "12px" ,
95+ color : "#bea966" ,
96+ marginTop : "10px" ,
97+ marginBottom : "10px"
98+ } } >
99+ A backup of your current account will be created and
100+ stored for 28 days minimum.
101+ </ div >
92102 { error ? (
93103 < div className = "error-box" > { error } </ div >
94104 ) : null }
95105 < div className = "button-row" >
96106 < Button
97107 centered
98108 disabled = { confirmDisabled }
99- onClick = { onConfirm }
100- >
109+ onClick = { onConfirm } >
101110 { loading ? (
102111 < div className = "spinner-small" />
103112 ) : (
0 commit comments