File tree Expand file tree Collapse file tree 2 files changed +0
-9
lines changed
components/shared/Dialogs
providers/ComponentLibraryProvider Expand file tree Collapse file tree 2 files changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -48,8 +48,6 @@ const createMockComponentLibraryContext = (
4848 searchComponentLibrary : vi . fn ( ) ,
4949 addToComponentLibrary : vi . fn ( ) ,
5050 removeFromComponentLibrary : vi . fn ( ) ,
51- refetchLibrary : vi . fn ( ) ,
52- refetchUserComponents : vi . fn ( ) ,
5351 setComponentFavorite : vi . fn ( ) ,
5452 checkIfUserComponent : vi . fn ( ) . mockReturnValue ( false ) ,
5553 checkLibraryContainsComponent : vi . fn ( ) . mockReturnValue ( false ) ,
Original file line number Diff line number Diff line change @@ -84,9 +84,6 @@ type ComponentLibraryContextType = {
8484 component : HydratedComponentReference ,
8585 ) => Promise < HydratedComponentReference | undefined > ;
8686 removeFromComponentLibrary : ( component : ComponentReference ) => void ;
87- refetchLibrary : ( ) => void ;
88- refetchUserComponents : ( ) => void ;
89-
9087 setComponentFavorite : (
9188 component : ComponentReference ,
9289 favorited : boolean ,
@@ -593,8 +590,6 @@ export const ComponentLibraryProvider = ({
593590 getComponentLibrary,
594591 addToComponentLibrary,
595592 removeFromComponentLibrary,
596- refetchLibrary,
597- refetchUserComponents,
598593 setComponentFavorite,
599594 checkIfUserComponent,
600595 checkLibraryContainsComponent,
@@ -612,8 +607,6 @@ export const ComponentLibraryProvider = ({
612607 getComponentLibrary ,
613608 addToComponentLibrary ,
614609 removeFromComponentLibrary ,
615- refetchLibrary ,
616- refetchUserComponents ,
617610 setComponentFavorite ,
618611 checkIfUserComponent ,
619612 checkLibraryContainsComponent ,
You can’t perform that action at this time.
0 commit comments