Browse Source

make qr dialog input disabled, remove retry button

pull/43/head
Sacha Weatherstone 4 years ago
parent
commit
f79895a6a6
  1. 1
      src/components/Dialog/QRDialog.tsx
  2. 10
      src/components/Widgets/ConfiguringWidget.tsx

1
src/components/Dialog/QRDialog.tsx

@ -108,6 +108,7 @@ export const QRDialog = ({
<Input
label="Sharable URL"
value={QRCodeURL}
disabled
action={{
icon: <ClipboardIcon className="h-4" />,
action() {

10
src/components/Widgets/ConfiguringWidget.tsx

@ -3,7 +3,6 @@ import React, { useEffect } from "react";
import { useDevice } from "@core/providers/useDevice.js";
import { AdjustmentsHorizontalIcon } from "@heroicons/react/24/outline";
import { Button } from "../Button.js";
import { Card } from "../Card.js";
import { Dropdown } from "../Dropdown.js";
@ -66,15 +65,6 @@ export const ConfiguringWidget = (): JSX.Element => {
total={hardware.maxChannels ?? 0}
/>
</ol>
<Button
variant="secondary"
size="sm"
onClick={() => {
void connection?.configure();
}}
>
Retry
</Button>
</div>
</Dropdown>
</Card>

Loading…
Cancel
Save