1
Fork 0
mirror of https://github.com/Steffo99/todocolors.git synced 2024-11-25 17:54:18 +00:00

Fix error string

This commit is contained in:
Steffo 2023-08-09 03:39:12 +02:00
parent 5539a5ffb3
commit 98bcca2fe8
Signed by: steffo
GPG key ID: 2A24051445686895

View file

@ -9,7 +9,7 @@ export function useStarredConsumer(): StarredContextData {
const context = useContext(StarredContext)
if(context === null) {
throw new Error("useStarContext used outside a StarredContext.")
throw new Error("useStarredConsumer used outside a StarredContext.")
}
return context