Skip to content

Commit

Permalink
fix(repo): Update intergration tests and vite react playground
Browse files Browse the repository at this point in the history
  • Loading branch information
desiprisg committed Nov 1, 2023
1 parent ebe1874 commit 20c4eb1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion integration/templates/react-vite/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const Root = () => {
<ClerkProvider
// @ts-ignore
publishableKey={import.meta.env.VITE_CLERK_PUBLISHABLE_KEY as string}
navigate={(to: string) => navigate(to)}
push={(to: string) => navigate(to)}
>
<Outlet />
</ClerkProvider>
Expand Down
2 changes: 1 addition & 1 deletion packages/chrome-extension/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function ClerkProviderWithRoutes() {
return (
<ClerkProvider
publishableKey={publishableKey}
navigate={to => navigate(to)}
push={to => navigate(to)}
>
<Routes>
<Route
Expand Down
10 changes: 5 additions & 5 deletions playground/vite-react-ts/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
import reactLogo from './assets/react.svg';
import viteLogo from '/vite.svg';
import clerkLogo from '/clerk.svg';
import './App.css';
import {
ClerkProvider,
RedirectToSignIn,
Expand All @@ -14,6 +10,10 @@ import {
useUser,
} from '@clerk/clerk-react';
import { BrowserRouter, Route, Routes, useNavigate } from 'react-router-dom';
import './App.css';
import reactLogo from './assets/react.svg';
import clerkLogo from '/clerk.svg';
import viteLogo from '/vite.svg';

const clerkPubKey = import.meta.env.VITE_REACT_APP_CLERK_PUBLISHABLE_KEY;

Expand Down Expand Up @@ -67,7 +67,7 @@ function ClerkProviderWithRoutes() {
return (
<ClerkProvider
publishableKey={clerkPubKey}
navigate={to => navigate(to)}
push={to => navigate(to)}
>
<div>
<a href='#'>
Expand Down

0 comments on commit 20c4eb1

Please sign in to comment.