Ignore:
Timestamp:
03/24/26 23:03:39 (3 months ago)
Author:
kikisrbinoska <srbinoskakristina07@…>
Branches:
main
Children:
a7550ca
Parents:
73b69b2
Message:

Added functional collaboration between users

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapterx-frontend/src/App.tsx

    r73b69b2 r7fbb91c  
    5252
    5353  if (!currentUser) {
    54     addToast('Please sign in to access this page.', 'warning')
    5554    return <Navigate to="/login" replace />
    5655  }
     
    6867
    6968function App() {
    70   const { fetchStories, fetchChapters, fetchReadingLists } = useStoryStore()
     69  const { fetchStories, fetchChapters, fetchCollaborations, fetchReadingLists } = useStoryStore()
    7170
    7271  useEffect(() => {
    7372    fetchStories()
    7473    fetchChapters()
     74    fetchCollaborations()
    7575    fetchReadingLists()
    7676  }, [])
Note: See TracChangeset for help on using the changeset viewer.