disable diff cache
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
import { createMemo, Show, createEffect, onCleanup } from "solid-js"
|
import { createMemo, Show, createEffect, onCleanup } from "solid-js"
|
||||||
import { DiffView, DiffModeEnum } from "@git-diff-view/solid"
|
import { DiffView, DiffModeEnum } from "@git-diff-view/solid"
|
||||||
|
import { disableCache } from "@git-diff-view/core"
|
||||||
import type { DiffHighlighterLang } from "@git-diff-view/core"
|
import type { DiffHighlighterLang } from "@git-diff-view/core"
|
||||||
import { ErrorBoundary } from "solid-js"
|
import { ErrorBoundary } from "solid-js"
|
||||||
import { getLanguageFromPath } from "../lib/markdown"
|
import { getLanguageFromPath } from "../lib/markdown"
|
||||||
@@ -8,6 +9,8 @@ import { setCacheEntry } from "../lib/global-cache"
|
|||||||
import type { CacheEntryParams } from "../lib/global-cache"
|
import type { CacheEntryParams } from "../lib/global-cache"
|
||||||
import type { DiffViewMode } from "../stores/preferences"
|
import type { DiffViewMode } from "../stores/preferences"
|
||||||
|
|
||||||
|
disableCache()
|
||||||
|
|
||||||
interface ToolCallDiffViewerProps {
|
interface ToolCallDiffViewerProps {
|
||||||
diffText: string
|
diffText: string
|
||||||
filePath?: string
|
filePath?: string
|
||||||
|
|||||||
Reference in New Issue
Block a user