refactor: use tabs instead of spaces

This commit is contained in:
Sonny
2024-10-07 01:33:59 +02:00
parent f425decf2c
commit eea9732100
197 changed files with 5206 additions and 5209 deletions

View File

@@ -2,14 +2,14 @@ import { createContext } from 'react';
import { CollectionWithLinks } from '~/types/app';
type ActiveCollectionContextType = {
activeCollection: CollectionWithLinks | null;
setActiveCollection: (collection: CollectionWithLinks) => void;
activeCollection: CollectionWithLinks | null;
setActiveCollection: (collection: CollectionWithLinks) => void;
};
const iActiveCollectionContextState: ActiveCollectionContextType = {
activeCollection: null,
setActiveCollection: (_: CollectionWithLinks) => {},
activeCollection: null,
setActiveCollection: (_: CollectionWithLinks) => {},
};
export const ActiveCollectionContext =
createContext<ActiveCollectionContextType>(iActiveCollectionContextState);
createContext<ActiveCollectionContextType>(iActiveCollectionContextState);