{path ? ( Your space is live at{" "} huggingface.co/{path} . You can update it by deploying again. ) : ( "Deploy your project to a space on the Hub. Spaces are a way to share your project with the world." )}
{!path && ( )}/* eslint-disable @typescript-eslint/no-explicit-any */ import { useState } from "react"; import { toast } from "sonner"; import SpaceIcon from "@/assets/space.svg"; import Loading from "../loading/loading"; import Login from "../login/login"; import { Auth } from "./../../../utils/types"; import LoadButton from "../load-button/load-button"; import { Button } from "../ui/button"; import { Popover, PopoverContent, PopoverTrigger } from "../ui/popover"; const MsgToast = ({ url }: { url: string }) => (
Host this project for free and share it with your friends.
{path ? ( Your space is live at{" "} huggingface.co/{path} . You can update it by deploying again. ) : ( "Deploy your project to a space on the Hub. Spaces are a way to share your project with the world." )}
{!path && ( )}