72140da000
Update vite-plugin-svgr to the latest version (4.2.0) ahead of updating vite to 5.x. This is a major version bump from our previous 3.x, and requires changing the import paths used for SVGs. Updates https://github.com/tailscale/corp/issues/17715 Signed-off-by: Mario Minardi <mario@tailscale.com>
22 lines
613 B
TypeScript
22 lines
613 B
TypeScript
// Copyright (c) Tailscale Inc & AUTHORS
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
import React from "react"
|
|
import TailscaleIcon from "src/assets/icons/tailscale-icon.svg?react"
|
|
|
|
/**
|
|
* DisconnectedView is rendered after node logout.
|
|
*/
|
|
export default function DisconnectedView() {
|
|
return (
|
|
<>
|
|
<TailscaleIcon className="mx-auto" />
|
|
<p className="mt-12 text-center text-text-muted">
|
|
You logged out of this device. To reconnect it you will have to
|
|
re-authenticate the device from either the Tailscale app or the
|
|
Tailscale command line interface.
|
|
</p>
|
|
</>
|
|
)
|
|
}
|