Skip to content

Commit 7a303eb

Browse files
authored
fix: crash when calling the script via cmdk (#185)
* fix: crash when calling the script via cmdk * Update to version 0.8.1
1 parent 3888cc1 commit 7a303eb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

components/cmdk/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,15 @@ export function CommandDialogDemo() {
8686
goto(`/${lastOpenedDatabase}/${docId}`)()
8787
}
8888

89+
const { t } = useTranslation()
90+
8991
if (mode === "action") {
9092
return <ScriptList />
9193
}
9294
if (mode === "syscall") {
9395
return <ActionList />
9496
}
9597

96-
const { t } = useTranslation()
97-
9898
return (
9999
<CommandDialog open={isCmdkOpen} onOpenChange={setCmdkOpen}>
100100
<CommandInput

lib/env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const logger = console
2-
export const EIDOS_VERSION = "0.8.0"
2+
export const EIDOS_VERSION = "0.8.1"
33
export const isDevMode = Boolean(import.meta.env?.DEV)
44
export const isSelfHosted = import.meta.env?.VITE_EIDOS_SELF_HOSTED === "true"
55
export const isInkServiceMode =

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eidos",
3-
"version": "0.8.0",
3+
"version": "0.8.1",
44
"private": true,
55
"type": "module",
66
"description": "Eidos is an extensible framework for managing your personal data throughout your lifetime in one place.",

0 commit comments

Comments
 (0)