update api and login
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
"use client";
|
||||
'use client';
|
||||
|
||||
import { Breadcrumbs, BreadcrumbItem } from "@astryxdesign/core/Breadcrumbs";
|
||||
import { HStack, VStack } from "@astryxdesign/core/Layout";
|
||||
import { Text } from "@astryxdesign/core/Text";
|
||||
import { Button } from "@astryxdesign/core/Button";
|
||||
import { Icon } from "@astryxdesign/core/Icon";
|
||||
import {Breadcrumbs, BreadcrumbItem} from '@astryxdesign/core/Breadcrumbs';
|
||||
import {HStack, VStack} from '@astryxdesign/core/Layout';
|
||||
import {Text} from '@astryxdesign/core/Text';
|
||||
import {Button} from '@astryxdesign/core/Button';
|
||||
import {Icon} from '@astryxdesign/core/Icon';
|
||||
|
||||
export interface Crumb {
|
||||
label: string;
|
||||
@@ -32,7 +32,7 @@ export function AdminPageHeader({
|
||||
subtitle?: string;
|
||||
/** One level up. A drill-down page needs a way back that is not the
|
||||
* browser's — the operator may have arrived from a link. */
|
||||
back?: { label: string; href: string };
|
||||
back?: {label: string; href: string};
|
||||
crumbs?: Crumb[];
|
||||
/** A row under the title — status, slug, dates. */
|
||||
meta?: React.ReactNode;
|
||||
@@ -93,7 +93,7 @@ export function AdminPageHeader({
|
||||
);
|
||||
}
|
||||
|
||||
export function BackButton({ label, href }: { label: string; href: string }) {
|
||||
export function BackButton({label, href}: {label: string; href: string}) {
|
||||
return (
|
||||
<Button
|
||||
variant="ghost"
|
||||
|
||||
Reference in New Issue
Block a user