Skip to content

Dev#25

Merged
Stivenjs merged 8 commits into
mainfrom
dev
May 10, 2025
Merged

Dev#25
Stivenjs merged 8 commits into
mainfrom
dev

Conversation

@Stivenjs
Copy link
Copy Markdown
Contributor

No description provided.

Stivenjs and others added 8 commits May 9, 2025 20:40
…ation

The `window.location.href` was replaced with `useRouter` from Next.js to handle navigation more efficiently and in line with Next.js best practices. This change improves the maintainability and consistency of the code.
- Replace `any` with `unknown` in userStore.ts and StoreSelector.tsx for better type safety
- Update CI workflows to trigger on `main` and `dev` branches only
- Enhance `useAuthUser` hook with loading state, error handling, and event-based data refresh
- Clean up comments in amplify/data/resource.ts for better readability
refactor: improve type safety and CI workflow configuration
This commit fixes a typo in the `User` interface where the property `dentities` was incorrectly named. It has been corrected to `identities` to ensure proper functionality and consistency in the codebase.
fix(userStore): correct typo in 'dentities' to 'identities'
The change simplifies the type definition for `identities` in both `UserPayload` and `User` interfaces by replacing `unknown[]` with `any[]`. This improves maintainability and reduces complexity while maintaining the same functionality.
refactor: replace `unknown[]` with `any[]` for `identities` type
@Stivenjs Stivenjs merged commit 878fcf8 into main May 10, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant