๐Ÿšจ refers to a value, but is being used as a type here.

๐Ÿšจ ๋ฌธ์ œ ๋ฐœ์ƒ

ํƒ€์ž… ์Šคํฌ๋ฆฝํŠธ๋กœ React-Router-Dom์—์„œ ์ œ๊ณตํ•˜๋Š” Navigate ์ปดํฌ๋„ŒํŠธ๋ฅผ ์‚ฌ์šฉํ•˜๋ ค๊ณ  ํ•˜๋Š”๋ฐ ์—๋Ÿฌ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค.

'Navigate' refers to a value, but is being used as a type here.

image

โ”๋ฌธ์ œ ์›์ธ

ํƒ€์ž…์Šคํฌ๋ฆฝํŠธ ํŒŒ์ผ ํ™•์žฅ์ž๋ฅผ ts๋กœ ํ•œ ์ƒํƒœ์—์„œ ์ปดํฌ๋„ŒํŠธ๋ฅผ ์‚ฌ์šฉํ•ด์„œ ๋ฐœ์ƒํ•œ ๋ฌธ์ œ์˜€๋‹ค.

๐Ÿ”จ ๋ฌธ์ œ ํ•ด๊ฒฐ

image :thumbsup:

์ฐธ๊ณ 

Leave a comment