make qr dialog input disabled, remove retry button

This commit is contained in:
Sacha Weatherstone
2022-10-11 23:06:04 +11:00
parent b2fd4e877a
commit f79895a6a6
2 changed files with 1 additions and 10 deletions
+1
View File
@@ -108,6 +108,7 @@ export const QRDialog = ({
<Input <Input
label="Sharable URL" label="Sharable URL"
value={QRCodeURL} value={QRCodeURL}
disabled
action={{ action={{
icon: <ClipboardIcon className="h-4" />, icon: <ClipboardIcon className="h-4" />,
action() { action() {
@@ -3,7 +3,6 @@ import React, { useEffect } from "react";
import { useDevice } from "@core/providers/useDevice.js"; import { useDevice } from "@core/providers/useDevice.js";
import { AdjustmentsHorizontalIcon } from "@heroicons/react/24/outline"; import { AdjustmentsHorizontalIcon } from "@heroicons/react/24/outline";
import { Button } from "../Button.js";
import { Card } from "../Card.js"; import { Card } from "../Card.js";
import { Dropdown } from "../Dropdown.js"; import { Dropdown } from "../Dropdown.js";
@@ -66,15 +65,6 @@ export const ConfiguringWidget = (): JSX.Element => {
total={hardware.maxChannels ?? 0} total={hardware.maxChannels ?? 0}
/> />
</ol> </ol>
<Button
variant="secondary"
size="sm"
onClick={() => {
void connection?.configure();
}}
>
Retry
</Button>
</div> </div>
</Dropdown> </Dropdown>
</Card> </Card>