3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Internal server error: Failed to resolve import "./useLoginUser.ts" from "src/hooks/useAuth.ts". Does the file exist?

3
Posted at

はじめに

  • 確定的な方ではなくAI系の補完を使った気がする

問題

  • カスタムフックのインポートができない

解決

  • 間違ってhooksのファイル名をuseLoginUser.tsxにしていた

終わりに

  • IDE側の補完を使って保管したらtsxになってインポートできたので気づいた
  • 確定的な方法と、AI使ったそうでない方法を使い分け意識しないといけない
3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?