mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
Lint all files
This commit is contained in:
@@ -2,10 +2,10 @@ import { createContext, useContext } from 'react';
|
||||
import { ListKey } from '/@/renderer/store';
|
||||
|
||||
export const AlbumListContext = createContext<{ id?: string; pageKey: ListKey }>({
|
||||
pageKey: 'album',
|
||||
pageKey: 'album',
|
||||
});
|
||||
|
||||
export const useAlbumListContext = () => {
|
||||
const ctxValue = useContext(AlbumListContext);
|
||||
return ctxValue;
|
||||
const ctxValue = useContext(AlbumListContext);
|
||||
return ctxValue;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user