File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
packages/query-persist-client-core/src Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,10 @@ export function experimental_createQueryPersister<TStorageValue = string>({
145145 return
146146 }
147147
148- async function persistQueryByKey ( queryKey : QueryKey , queryClient : QueryClient ) {
148+ async function persistQueryByKey (
149+ queryKey : QueryKey ,
150+ queryClient : QueryClient ,
151+ ) {
149152 if ( storage != null ) {
150153 const query = queryClient . getQueryCache ( ) . find ( { queryKey } )
151154 if ( query ) {
@@ -154,7 +157,7 @@ export function experimental_createQueryPersister<TStorageValue = string>({
154157 if ( process . env . NODE_ENV === 'development' ) {
155158 console . warn (
156159 'Could not find query to be persisted. QueryKey:' ,
157- JSON . stringify ( queryKey )
160+ JSON . stringify ( queryKey ) ,
158161 )
159162 }
160163 }
You can’t perform that action at this time.
0 commit comments