Skip to content

Commit

Permalink
resolve conflcits
Browse files Browse the repository at this point in the history
  • Loading branch information
hyobumcodi committed Sep 26, 2024
1 parent 9f29f5b commit fecee5b
Show file tree
Hide file tree
Showing 4 changed files with 9,415 additions and 9,271 deletions.
10 changes: 1 addition & 9 deletions components/atoms/Icons/KakaoShareBtn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,7 @@ function KakaoShareBtn({
useEffect(() => {
if (type === "gather" && !img) return;

<<<<<<< HEAD
if (window.Kakao && !isWebView()) {
=======
if (window.Kakao) {
>>>>>>> main
const options =
type === "gather" || type === "study"
? {
Expand Down Expand Up @@ -133,11 +129,7 @@ function KakaoShareBtn({
}, [img, type, url, subtitle]);

return (
<<<<<<< HEAD
<Layout id="kakao-share-button" isFull={isFull} onClick={handleShareOnApp}>
=======
<Layout id="kakao-share-button" isFull={isFull} temp={temp}>
>>>>>>> main
<Layout id="kakao-share-button" isFull={isFull} temp={temp} onClick={handleShareOnApp}>
{!isBig ? (
<i className="fa-light fa-share-nodes fa-lg" />
) : (
Expand Down
31 changes: 0 additions & 31 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 1 addition & 13 deletions pageTemplates/home/HomeInitialSetting.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,14 @@ import { createGlobalStyle } from "styled-components";
import PCBottomNav from "../../components/layouts/PCBottomNav";
import { STEPS_CONTENTS } from "../../constants/contentsText/GuideContents";
import { USER_GUIDE, USER_LOCATION } from "../../constants/keys/localStorage";
import { SERVER_URI } from "../../constants/system";
import { useToast } from "../../hooks/custom/CustomToast";
import { usePushServiceInitialize } from "../../hooks/fcm/mutaion";
import { usePushServiceInitialize } from "../../hooks/FCM/mutaion";
import { useUserInfoFieldMutation } from "../../hooks/user/mutations";
import { useUserInfoQuery } from "../../hooks/user/queries";
import FAQPopUp from "../../modals/pop-up/FAQPopUp";
import UserSettingPopUp from "../../pageTemplates/setting/userSetting/userSettingPopUp";
import { renderHomeHeaderState } from "../../recoils/renderRecoils";
<<<<<<< HEAD
import { studyDateStatusState } from "../../recoils/studyRecoils";
import { isPWA } from "../../utils/appEnvUtils";
=======
>>>>>>> main
import { checkAndSetLocalStorage } from "../../utils/storageUtils";
import { detectDevice } from "../../utils/validationUtils";

Expand All @@ -33,15 +28,8 @@ function HomeInitialSetting() {

const router = useRouter();
const toast = useToast();
<<<<<<< HEAD
const searchParams = useSearchParams();
const dateParam = searchParams.get("date");
const isGuest = session?.user.name === "guest";
=======
const { data: session } = useSession();

const isGuest = session ? session.user.name === "guest" : undefined;
>>>>>>> main

const [isGuide, setIsGuide] = useState(false);
const [isGuestModal, setIsGuestModal] = useState(false);
Expand Down
Loading

0 comments on commit fecee5b

Please sign in to comment.