on master help sign in
Merge pull request #928 from urbit/james/login-shards
0faeba0tomholford
src/views/Login/Ticket.tsx+12−14
@@ -205,20 +205,7 @@ export default function Ticket({ className, goHome }: TicketProps) {
205 className={ticketInputClass}
205 className={ticketInputClass}
206 />
206 />
207
207
208− <Condition when="useShards" is={false}>
209− <Grid.Item
210− className={ticketInputClass}
211− full
212− as={TicketInput}
213− hidden={values.ticketHidden}
214− accessory={<TicketInputAccessory name="ticketHidden" />}
215− name="ticket"
216− label="Master Ticket"
217− style={{ height: 40 }}
218− />
219− </Condition>
220−
221− {useShards && (
208+ {useShards ? (
222 <>
209 <>
223 <Grid.Item
210 <Grid.Item
224 className={ticketInputClass}
211 className={ticketInputClass}
@@ -248,6 +235,17 @@ export default function Ticket({ className, goHome }: TicketProps) {
248 label="Shard 3"
235 label="Shard 3"
249 />
236 />
250 </>
237 </>
238+ ) : (
239+ <Grid.Item
240+ className={ticketInputClass}
241+ full
242+ as={TicketInput}
243+ hidden={values.ticketHidden}
244+ accessory={<TicketInputAccessory name="ticketHidden" />}
245+ name="ticket"
246+ label="Master Ticket"
247+ style={{ height: 40 }}
248+ />
251 )}
249 )}
252
250
253 {usePassphrase && (
251 {usePassphrase && (