Arrow functions and so
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
@ -8,7 +8,7 @@ interface UpdateBookmarkFolderParams {
|
||||
emoji?: string;
|
||||
}
|
||||
|
||||
function useUpdateBookmarkFolder(folderId: string) {
|
||||
const useUpdateBookmarkFolder = (folderId: string) => {
|
||||
const api = useApi();
|
||||
|
||||
const { createEntity, ...rest } = useCreateEntity(
|
||||
@ -25,6 +25,6 @@ function useUpdateBookmarkFolder(folderId: string) {
|
||||
updateBookmarkFolder: createEntity,
|
||||
...rest,
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
export { useUpdateBookmarkFolder };
|
||||
|
||||
Reference in New Issue
Block a user