Skip to content

Commit

Permalink
chore: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
chaance committed Feb 14, 2022
1 parent 1dd9f97 commit e5d5b70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion contributors.yml
@@ -1,10 +1,12 @@
- abhi-kr-2100
- Ajayff4
- awreese
- bhbs
- brockross
- chaance
- chasinhues
- christopherchudzicki
- edwin177
- elylucas
- hongji00
- hsbtr
Expand Down Expand Up @@ -32,4 +34,3 @@
- turansky
- underager
- vijaypushkin
- abhi-kr-2100
4 changes: 2 additions & 2 deletions docs/api.md
Expand Up @@ -655,7 +655,7 @@ export default function Dashboard() {
return (
<div>
<h1>Dashboard</h1>
<Outlet context={user} />
<Outlet context={{ user }} />
</div>
);
}
Expand All @@ -669,7 +669,7 @@ export function useUser() {
import { useUser } from "../dashboard";

export default function DashboardMessages() {
const user = useUser();
const { user } = useUser();
return (
<div>
<h2>Messages</h2>
Expand Down

0 comments on commit e5d5b70

Please sign in to comment.