fix(web): refresh text (#26071)

This commit is contained in:
Jason Rasmussen
2026-02-10 11:42:03 -05:00
committed by GitHub
parent 0886281dd8
commit e6e56d75e2
25 changed files with 115 additions and 106 deletions

View File

@@ -1,3 +1,4 @@
import type { AssetControlContext } from '$lib/types';
import { getContext, setContext } from 'svelte';
export function createContext<T>(key: string | symbol = Symbol()) {
@@ -6,3 +7,5 @@ export function createContext<T>(key: string | symbol = Symbol()) {
set: (context: T) => setContext<T>(key, context),
};
}
export const { get: getAssetControlContext, set: setAssetControlContext } = createContext<AssetControlContext>();