add optional projectId - unused so far

This commit is contained in:
Mary Hipp 2023-07-31 13:23:07 -04:00 committed by psychedelicious
parent 81654daed7
commit 1b131e328a

View File

@ -28,6 +28,7 @@ interface Props extends PropsWithChildren {
config?: PartialAppConfig; config?: PartialAppConfig;
headerComponent?: ReactNode; headerComponent?: ReactNode;
middleware?: Middleware[]; middleware?: Middleware[];
projectId?: string;
} }
const InvokeAIUI = ({ const InvokeAIUI = ({
@ -36,6 +37,7 @@ const InvokeAIUI = ({
config, config,
headerComponent, headerComponent,
middleware, middleware,
projectId,
}: Props) => { }: Props) => {
useEffect(() => { useEffect(() => {
// configure API client token // configure API client token