Skip to content

Commit

Permalink
chore: api 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
saseungmin committed Dec 12, 2023
1 parent 79f5b5d commit 44e6f1a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/components/login/SocialButtonGroup/index.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
'use client';

import Image from 'next/image';

import { useQuery } from '@tanstack/react-query';

import api from '@/app/api';
import Button from '@/components/common/Button';

import styles from './index.module.scss';

function SocialButtonGroup() {
const { data } = useQuery({
queryKey: ['test'],
queryFn: () => api({
url: '/tags',
isBFF: false,
}),
});

console.log(data);

return (
<div className={styles.socialButtonGroup}>
<Button
Expand Down

0 comments on commit 44e6f1a

Please sign in to comment.