Skip to content

Commit

Permalink
Refactor <Link /> components from React-Router to Wasp Links
Browse files Browse the repository at this point in the history
  • Loading branch information
zjy4fun committed Jul 2, 2024
1 parent 10b7596 commit 050c596
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion template/app/src/client/admin/components/Breadcrumb.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Link } from 'react-router-dom';
import { Link } from 'wasp/client/router';
interface BreadcrumbProps {
pageName: string;
}
Expand Down
2 changes: 1 addition & 1 deletion template/app/src/client/auth/EmailVerification.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { VerifyEmailForm } from 'wasp/client/auth';
import { Link } from 'react-router-dom';
import { Link } from 'wasp/client/router';
import { AuthWrapper } from './authWrapper';

export function EmailVerification() {
Expand Down
2 changes: 1 addition & 1 deletion template/app/src/client/auth/LoginPage.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { LoginForm } from 'wasp/client/auth';
import { Link } from 'react-router-dom';
import { Link } from 'wasp/client/router';
import { AuthWrapper } from './authWrapper';

export default function Login() {
Expand Down
2 changes: 1 addition & 1 deletion template/app/src/client/auth/PasswordReset.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ResetPasswordForm } from 'wasp/client/auth';
import { Link } from 'react-router-dom';
import { Link } from 'wasp/client/router';
import { AuthWrapper } from './authWrapper';

export function PasswordReset() {
Expand Down
2 changes: 1 addition & 1 deletion template/app/src/client/auth/SignupPage.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { SignupForm } from 'wasp/client/auth';
import { Link } from 'react-router-dom';
import { Link } from 'wasp/client/router';
import { AuthWrapper } from './authWrapper';

export function Signup() {
Expand Down

0 comments on commit 050c596

Please sign in to comment.