isaac238 / ITSE_GROUP

Repo for our introduction to software engineering module gym administration project
https://itse.isaac238.dev
2 stars 0 forks source link

BUG: In #34 HMR Error #57

Closed WestheadJ closed 9 months ago

WestheadJ commented 9 months ago

ISSUE

There's an error that is causing me an issue at current development of the notifications. Whenever I add this code:

{#each errors as error}
        <Error/>
    {/each}

I get given this error message register.svelte:8 [HMR][Svelte] Unrecoverable HMR error in <NotificationCentre>: next update will trigger a full reload

WestheadJ commented 9 months ago

https://learn.svelte.dev/tutorial/custom-stores Gonna look at this documentation and update my store to see if this fixes it^

WestheadJ commented 9 months ago

LMAO @isaac238 why is it sending response back as just an array instead of as the object {success:false,message:error} like it use to, looking at the code base I am clueless rn image

WestheadJ commented 9 months ago

Also fixed HMR error in final commit so this issue can be close :)