mirror of
https://github.com/immich-app/immich.git
synced 2026-03-01 01:59:06 +03:00
fix(web): refresh text (#26071)
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user