mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 15:35:35 +00:00
refactor: use tabs instead of spaces
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user