Update user authentication and refactor UI components

Refactored the user authentication method in the dashboard from getSession to getUser, and updated its related variables accordingly. UI components have also been modified, which includes streamlining the importation of the 'cn' function and exporting the 'Stepper' function directly. Lastly, the 'Stepper' function is now included in the package.json for the UI component package.
This commit is contained in:
giancarlo
2024-04-15 19:07:59 +08:00
parent 8627cdaf1f
commit df239e9903
4 changed files with 8 additions and 12 deletions

View File

@@ -124,7 +124,8 @@
"./profile-avatar": "./src/makerkit/profile-avatar.tsx",
"./mode-toggle": "./src/makerkit/mode-toggle.tsx",
"./enhanced-data-table": "./src/makerkit/data-table.tsx",
"./language-selector": "./src/makerkit/language-selector.tsx"
"./language-selector": "./src/makerkit/language-selector.tsx",
"./stepper": "./src/makerkit/stepper.tsx"
},
"typesVersions": {
"*": {