mirror of
https://github.com/coaidev/coai.git
synced 2025-05-30 02:10:25 +09:00
fix: redefine sendKeys
This commit is contained in:
parent
b7d50acd6e
commit
77ab253f45
@ -8,9 +8,7 @@ import {
|
|||||||
import { RootState } from "@/store/index.ts";
|
import { RootState } from "@/store/index.ts";
|
||||||
import { isMobile } from "@/utils/device";
|
import { isMobile } from "@/utils/device";
|
||||||
|
|
||||||
export const sendKeys = isMobile()
|
export const sendKeys = ["Ctrl + Enter", "Enter"];
|
||||||
? ["Ctrl + Enter", "Enter"]
|
|
||||||
: ["Enter", "Ctrl + Enter"];
|
|
||||||
export const initialSettings = {
|
export const initialSettings = {
|
||||||
context: true,
|
context: true,
|
||||||
align: false,
|
align: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user