Skip to content

Commit

Permalink
delete duplicated jsx caused by git
Browse files Browse the repository at this point in the history
  • Loading branch information
steward379 committed Dec 10, 2023
1 parent f628001 commit 02145c9
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/pages/publish-map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ import QuillEditor from '@/src/components/QuillEditor';
// import { Editor } from '@tinymce/tinymce-react';


import QuillEditor from '@/src/components/QuillEditor';
// import SlateEditor from '@/src/components/SlateEditor';
// import { Editor } from '@tinymce/tinymce-react';

import Link from 'next/link';
import { useRouter } from 'next/router';
// react modules
Expand Down Expand Up @@ -115,8 +111,6 @@ const PublishMapPage = () => {

const [isTyping, setIsTyping] = useState(false);

const [isTyping, setIsTyping] = useState(false);

const showIsRoutingMode = () => {
setHideRoutingMode(false);
};
Expand Down Expand Up @@ -369,7 +363,6 @@ const PublishMapPage = () => {
onMarkerClick={setSelectedPlace}
selectedPlace={selectedPlace}
isTyping = {isTyping}
isTyping = {isTyping}
/>
</div>

Expand Down Expand Up @@ -422,7 +415,6 @@ const PublishMapPage = () => {
<div className="relative">
<input type="checkbox" id="toggle-tab" className="sr-only"
onChange={() => setActiveTab(activeTab === 'places' ? 'content' : 'places')}
onChange={() => setActiveTab(activeTab === 'places' ? 'content' : 'places')}
checked={activeTab === 'content'} />
<div className={`flex items-center justify-${activeTab === 'content' ? 'start' : 'end'} w-16 h-9 rounded-full transition-colors ${activeTab === 'content' ? 'bg-yellow-500' : 'bg-blue-300'}`}>
<i className={`fas ${activeTab === 'content' ? 'fa-mountain-sun text-stone-500 pl-2' : 'fa-pencil text-gray-900 pr-2.5'} `} ></i>
Expand Down Expand Up @@ -721,8 +713,6 @@ const PublishMapPage = () => {
value={articleTags}
onFocus={() => setIsTyping(true)}
onBlur={() => setIsTyping(false)}
onFocus={() => setIsTyping(true)}
onBlur={() => setIsTyping(false)}
onChange={(e) => setArticleTags(e.target.value)}
className="p-2 w-full mb-2 border text-black rounded-xl"
/>
Expand Down

1 comment on commit 02145c9

@vercel
Copy link

@vercel vercel bot commented on 02145c9 Dec 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.