-
-
Notifications
You must be signed in to change notification settings - Fork 346
docs: add missing import to example #1637
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Can you remove the other unused imports and apply the changes to the other sections, it seems to also have that issue.
docs/guide/storage.md
Outdated
@@ -79,7 +79,7 @@ VueFire also exposes a smaller composable that only retrieves the url of a file. | |||
<script setup lang="ts"> | |||
import { useFileDialog } from '@vueuse/core' | |||
import { ref as storageRef } from 'firebase/storage' | |||
import { useFirebaseStorage, useStorageFile } from 'vuefire' | |||
import { useFirebaseStorage, useStorageFile, useStorageFileUrl } from 'vuefire' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import { useFirebaseStorage, useStorageFile, useStorageFileUrl } from 'vuefire' | |
import { useFirebaseStorage, useStorageFileUrl } from 'vuefire' |
docs/guide/storage.md
Outdated
@@ -75,11 +75,10 @@ Once the picture is uploaded, you can use the `url` reactive variable. For examp | |||
|
|||
VueFire also exposes a smaller composable that only retrieves the url of a file. This is useful if you don't need to upload a file but only display it: | |||
|
|||
```vue | |||
```vue{4,?} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
```vue{4,?} | |
```vue{4,11} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By ?
I meant the actual line after editing, sorry it wasn't clear 😆
docs/guide/storage.md
Outdated
<script setup lang="ts"> | ||
import { useFileDialog } from '@vueuse/core' | ||
import { ref as storageRef } from 'firebase/storage' | ||
import { useFirebaseStorage, useStorageFile } from 'vuefire' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I meant the import here should also be adapted
Ah, thanks for clarifying. I took some time to clarify the copy on the page too. Hope that's okay! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Caution Review failedThe pull request is closed. WalkthroughThe documentation for Firebase Storage integration with VueFire was revised for improved clarity and precision. Explanations for composables like Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary by CodeRabbit