Skip to content

Commit

Permalink
Fix Storage docs (#739)
Browse files Browse the repository at this point in the history
  • Loading branch information
hvergara authored Nov 17, 2021
1 parent 633d835 commit ca1b0b8
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/src/data/links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,17 @@ export const reactHooks = [
{
href: '/hooks/auth',
label: 'Authentication',
body: 'Get current authenticated user data',
body: '',
},
{
href: '/hooks/datastore',
label: 'DataStore',
body: 'Computes a signed URL for an Amplify Storage file',
body: '',
},
{
href: '/hooks/storage',
label: 'Storage',
body: '',
},
];

Expand Down
7 changes: 7 additions & 0 deletions docs/src/pages/hooks/datastore/index.page.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: Authentication
---

import { Fragment } from '@/components/Fragment';

<Fragment>{({ platform }) => import(`./${platform}.mdx`)}</Fragment>
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ca1b0b8

Please sign in to comment.