Skip to content

Commit 4798a5f

Browse files
typo
1 parent 0edaf33 commit 4798a5f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/users/Users.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ import { useScreenWidth } from '@/hooks/useScreenWidth'
2323
const Users = () => {
2424
const contextTopUsersRef = useContext(ContextTopUsers)
2525
if (!contextTopUsersRef) {
26-
throw new Error(
27-
'Users must be used within a contextTopUsersRef.Provider'
28-
)
26+
throw new Error('Users must be used within a ContextTopUsers.Provider')
2927
}
3028
const topUsersRef = contextTopUsersRef
3129

0 commit comments

Comments
 (0)