File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ const fetchFeedItems = async (
1616 )
1717
1818 if ( ! response . ok ) {
19- console . error ( 'An error occurred while fetching the photos .' )
19+ console . error ( 'An error occurred while fetching the comments .' )
2020 throw new Error ( 'Network response was not ok' )
2121 }
2222
2323 const data = await response . json ( )
2424 if ( ! data ) {
25- console . error ( 'An error occurred while fetching the photos .' )
25+ console . error ( 'An error occurred while fetching the comments .' )
2626 throw new Error ( 'Received data was not ok' )
2727 }
2828
@@ -38,7 +38,7 @@ const fetchFeedItems = async (
3838 return unique
3939 } )
4040 } catch ( error : unknown ) {
41- console . error ( 'An error occurred while fetching the photos .' , error )
41+ console . error ( 'An error occurred while fetching the comments .' , error )
4242 }
4343}
4444
You can’t perform that action at this time.
0 commit comments