Skip to content

Commit

Permalink
disabled wired element
Browse files Browse the repository at this point in the history
  • Loading branch information
ans-4175 committed Nov 13, 2021
1 parent 0be7412 commit 92ef50b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Home.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useQuery, useInfiniteQuery } from 'react-query';
import { fetchRandom } from './api/profiles';
// import { useParams } from 'react-router-dom';
import { sendEvent } from './libs/ga-analytics';
import { WiredButton, WiredCard } from 'wired-elements-react';
// import { WiredButton, WiredCard } from 'wired-elements-react';

function Home() {
// const [lastDirection, setLastDirection] = useState('');
Expand All @@ -29,13 +29,13 @@ function Home() {
<p>Error: {error.message}</p>
) : (
<>
<WiredCard elevation={3} ref={boxCard}>
{/* <WiredCard elevation={3} ref={boxCard}> */}
<section>
<WiredButton elevation={2} onClick={() => onButton()}>
<button onClick={() => onButton()}>
Click Me
</WiredButton>
</button>
</section>
</WiredCard>
{/* </WiredCard> */}
</>
)}
</div>
Expand Down

0 comments on commit 92ef50b

Please sign in to comment.