Skip to content

Commit

Permalink
test: added loading spinner
Browse files Browse the repository at this point in the history
  • Loading branch information
ralvarezdev committed Feb 17, 2025
1 parent 783ddaa commit e941186
Show file tree
Hide file tree
Showing 16 changed files with 423 additions and 186 deletions.
200 changes: 194 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"dotenv": "^16.4.7",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-query": "^3.39.3",
"react-router-dom": "^7.1.5"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export default function App() {

// Check if it's a verify email page or a reset password page
let cleanedPath
if (path.startsWith('/verify-email/') || path.startsWith('/reset-password/')){
cleanedPath = '/'+path.split('/')[1]
if (path.startsWith('/verify-email/') || path.startsWith('/reset-password/')) {
cleanedPath = '/' + path.split('/')[1]
} else {
cleanedPath = path
}
Expand Down
3 changes: 2 additions & 1 deletion src/components/Modal/Modal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import './Modal.css'
// Modal component
export default function Modal({children, className, ...props}) {
return (
<div className={['modal__main-container', className].join(' ')} {...props}>
<div
className={['modal__main-container', className].join(' ')} {...props}>
{children}
</div>
)
Expand Down
Loading

0 comments on commit e941186

Please sign in to comment.