๐
'event'์(๋) ์ฌ์ฉ๋์ง ์์ต๋๋ค.
- event.preventDefault() ๋ฅผ ์ฌ์ฉํ๋ ค๊ณ ํ๋๋ฐ ์๋๋ ์ค๋ฅ๊ฐ ๋ฌ๋ค.
์๊ณ ๋ณด๋๊น ์ปดํฌ๋ํธ ํจ์ ์์ return์ ์ํด์ค.. ํจ์ ์์ ๊ตฌ์กฐ ๋ค์ ์ ์ดํด๋ณด๊ธฐ!
๐
No default bucket found. Did you set the 'storageBucket' property when initializing the app? (storage/no-default-bucket)
๋ถ๋ช storageBucket์ ์ ๋ง๋ค๊ณ import๋ ์ํ๋๋ฐ ์ด๋ฐ ์ค๋ฅ๊ฐ ๋ฌ๋ค.
์๊ณ ๋ณด๋,,, .env๋ก ํ๊ฒฝ์ค์ ์ ํ ๋์ ์ด๋ ๊ฒ ์ ํด๋๊ณ fbase.js ํ์ผ์์ ์ธ ๋ ์๋์ฒ๋ผ ์ผ๋๊ฒ,,,
๋ณ์๋ช , ์ด๋ฐ ๊ฒฝ์ฐ๋ ๋ณต๋ถ์ ์ํํ ํ์..
REACT_APP_STORAGE_BUCKET= ...
storageBucket: process.env.STORAGE_BUCKET
'WEB > Front-End๐' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
Vue3 ํน์ง (0) | 2024.01.12 |
---|---|
[React+Firebase] Set up, Auth (0) | 2022.01.04 |
[React Hooks] useFullscreen, useNotification, useAxios (0) | 2021.12.20 |
[React Hooks] useFadeln, useNetwork, useScroll (0) | 2021.12.19 |
[React Hooks] useConfirm, preventLeave, useBeforeLeave (0) | 2021.12.19 |