Skip to content

Commit

Permalink
feat(demo): better demo
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-chervet committed Nov 5, 2024
1 parent 9dd3401 commit 02a6c8b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions examples/react-oidc-demo/src/CodeExecutor.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import { OidcClient } from '@axa-fr/oidc-client';
import React, { useState } from 'react';
import React, { useState } from 'react';

// @ts-ignore
window.OidcClient = OidcClient;
const CodeExecutor: React.FC = () => {
const [code, setCode] = useState<string>('');

Check failure on line 4 in examples/react-oidc-demo/src/CodeExecutor.tsx

View workflow job for this annotation

GitHub Actions / Run linters

Delete `··`

Check failure on line 4 in examples/react-oidc-demo/src/CodeExecutor.tsx

View workflow job for this annotation

GitHub Actions / Run linters

Delete `··`
const [output, setOutput] = useState<string>('');

Check failure on line 5 in examples/react-oidc-demo/src/CodeExecutor.tsx

View workflow job for this annotation

GitHub Actions / Run linters

Delete `··`

Check failure on line 5 in examples/react-oidc-demo/src/CodeExecutor.tsx

View workflow job for this annotation

GitHub Actions / Run linters

Delete `··`
Expand Down

0 comments on commit 02a6c8b

Please sign in to comment.