fix: temporary include devtools in release build
This commit is contained in:
@@ -24,7 +24,7 @@ export const Column = memo(function Column({
|
||||
const [isCreated, setIsCreated] = useState(false);
|
||||
|
||||
const repositionWebview = useCallback(async () => {
|
||||
if (!container?.current) throw new Error("something wrong.");
|
||||
if (!container?.current) return console.log("something wrong.");
|
||||
|
||||
const newRect = container.current.getBoundingClientRect();
|
||||
await invoke("reposition_column", {
|
||||
@@ -35,7 +35,7 @@ export const Column = memo(function Column({
|
||||
}, []);
|
||||
|
||||
const resizeWebview = useCallback(async () => {
|
||||
if (!container?.current) throw new Error("something wrong.");
|
||||
if (!container?.current) return console.log("something wrong.");
|
||||
|
||||
const newRect = container.current.getBoundingClientRect();
|
||||
await invoke("resize_column", {
|
||||
|
||||
@@ -21,6 +21,7 @@ tauri = { version = "2.0.0-beta", features = [
|
||||
"macos-private-api",
|
||||
"native-tls-vendored",
|
||||
"protocol-asset",
|
||||
"devtools",
|
||||
] }
|
||||
tauri-plugin-window-state = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
|
||||
tauri-plugin-clipboard-manager = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
|
||||
|
||||
Reference in New Issue
Block a user