Skip to content

Commit

Permalink
- npm run lint:fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbahl committed Jan 31, 2024
1 parent 2774f74 commit 75f02ed
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions components/EditPost.jsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import { getAdminUrl } from "@faustwp/core"
import Link from 'next/link'

import {
ContextMenu,
ContextMenuContent,
ContextMenuItem,
ContextMenuTrigger,
} from "@/components/ui/context-menu"
import { getAdminUrl } from "@faustwp/core"
import Link from 'next/link'

const EditPost = ({ post, children }) => {
console.log({post})
Expand Down
3 changes: 2 additions & 1 deletion components/Layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import clsx from 'clsx'
import Link from 'next/link'
import { useCallback, useEffect, useState } from 'react'

import EditPost from './EditPost'

import { DocsSidebarNavigation } from '@/components/DocsSidebarNavigation'
import { FooterNavigation } from '@/components/FooterNavigation'
import { PrimaryNavigation } from '@/components/PrimaryNavigation'
Expand All @@ -12,7 +14,6 @@ import { SiteFooter } from '@/components/SiteFooter'
import { SiteHeader } from '@/components/SiteHeader'
import { SitewideNotice } from '@/components/SitewideNotice'
import { collectHeadings } from '@/lib/utils'
import EditPost from './EditPost'

export const LAYOUT_QUERY = gql`
query LayoutFragment {
Expand Down
2 changes: 1 addition & 1 deletion components/ui/context-menu.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react"
import * as ContextMenuPrimitive from "@radix-ui/react-context-menu"
import { Check, ChevronRight, Circle } from "lucide-react"
import * as React from "react"

import { cn } from "@/lib/utils"

Expand Down
2 changes: 1 addition & 1 deletion wp-templates/single-field_type.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import { flatListToHierarchical, useFaustQuery } from '@faustwp/core'
import { Separator } from '@radix-ui/react-separator'
import Head from 'next/head'

import EditPost from '@/components/EditPost'
import { Layout, LAYOUT_QUERY } from '@/components/Layout'
import { Badge } from '@/components/ui/badge'
import blocks from '@/wp-blocks'
import { AcfFieldTypeConfigurationBlock } from '@/wp-blocks/AcfFieldTypeConfigurationBlock'
import { AcfFieldTypeSettingsBlock } from '@/wp-blocks/AcfFieldTypeSettingsBlock'
import { AcfGraphqlQuery } from '@/wp-blocks/AcfGraphqlQuery'
import EditPost from '@/components/EditPost'

const aCFFieldTypeCategoriesFragment = gql`
fragment aCFFieldTypeCategoriesFragment on FieldType {
Expand Down

0 comments on commit 75f02ed

Please sign in to comment.