mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-09-07 16:47:03 +08:00
feat: model provider refactor done
This commit is contained in:
@@ -31,7 +31,7 @@ export interface MessageActionsProps {
|
||||
setShowPromptModal?: (value: boolean) => void;
|
||||
}
|
||||
|
||||
const genActionsShema = (
|
||||
const genActionsSchema = (
|
||||
message: RenderMessage,
|
||||
{
|
||||
onEdit,
|
||||
@@ -272,7 +272,7 @@ export default function MessageActions(props: MessageActionsProps) {
|
||||
`}
|
||||
>
|
||||
<ActionsBar
|
||||
actionsShema={genActionsShema(message, {
|
||||
actionsSchema={genActionsSchema(message, {
|
||||
onCopy,
|
||||
onDelete,
|
||||
onPinMessage,
|
||||
|
@@ -51,7 +51,7 @@ export function SideBar(props: { className?: string }) {
|
||||
>
|
||||
<ActionsBar
|
||||
inMobile={isMobileScreen}
|
||||
actionsShema={[
|
||||
actionsSchema={[
|
||||
{
|
||||
id: Path.Masks,
|
||||
icons: {
|
||||
|
Reference in New Issue
Block a user