Skip to content

Commit 32a9aa8

Browse files
committed
prettier
1 parent 334a750 commit 32a9aa8

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

samples/react/token-refresh/src/App.test.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ const mockUseAuth = vi.fn();
55
const mockSigninSilent = vi.fn();
66

77
vi.mock("react-oidc-context", () => ({
8-
AuthProvider: ({ children }: { children: React.ReactNode }) => <>{children}</>,
8+
AuthProvider: ({ children }: { children: React.ReactNode }) => (
9+
<>{children}</>
10+
),
911
useAuth: () => mockUseAuth(),
1012
}));
1113

samples/react/token-refresh/vite.config.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
import react from "@vitejs/plugin-react";
22
import { defineConfig, loadEnv } from "vite";
33

4-
const exposedEnvVars = [
5-
"ISSUER_URL",
6-
"CLIENT_ID",
7-
"REDIRECT_URI",
8-
"SCOPES",
9-
];
4+
const exposedEnvVars = ["ISSUER_URL", "CLIENT_ID", "REDIRECT_URI", "SCOPES"];
105

116
export default defineConfig(({ mode, command }) => {
127
const env = loadEnv(mode, process.cwd(), "");

0 commit comments

Comments
 (0)