Skip to content

Commit

Permalink
Update main.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerlinsley committed Dec 8, 2022
1 parent f7b795d commit 1250b94
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/react/kitchen-sink-single-file/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -680,10 +680,9 @@ const authenticatedRoute = rootRoute.createRoute({
}
},
loader: () => {
console.log()
console.log('I should only run when authenticated!')
return {}
},

component: () => {
const auth = useAuth()

Expand Down

0 comments on commit 1250b94

Please sign in to comment.