Skip to content

Commit

Permalink
update with changes from main
Browse files Browse the repository at this point in the history
  • Loading branch information
thejessewinton committed Mar 4, 2024
2 parents f5d390e + a440915 commit e329957
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/edit-profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import { type RouterOutputs } from '~/trpc/shared'
import { env } from '~/env'
import { UpdateAvatarAction } from './update-avatar'
import { Avatar } from '~/components/avatar'
import { getFeedPagination } from '~/components/post-summary'
import { useSession } from 'next-auth/react'
import { getFeedPagination } from './post-summary'

type EditFormData = {
name: string
Expand Down
1 change: 1 addition & 0 deletions src/components/header.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import Link from 'next/link'
import Logo from '~/components/svg/logo'

import { Actions } from '~/components/actions'

export const Header = async () => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/post-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import { TextField } from '~/components/text-field'
import { Button } from '~/components/button'
import MarkdownIcon from '~/components/svg/markdown-icon'
import { MarkdownEditor } from '~/components/markdown-editor'
import { markdownToHtml } from '~/utils/text'
import { useRouter } from 'next/navigation'
import { api } from '~/trpc/react'
import { markdownToHtml } from '~/utils/text'

type FormData = {
title: string
Expand Down
2 changes: 1 addition & 1 deletion src/components/post-view.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'

import { api } from '~/trpc/react'
import { Banner } from './banner'
import { Banner } from '~/components/banner'
import { useSession } from 'next-auth/react'
import { PostAction } from '~/components/post-action'
import { AuthorWithDate } from './author-with-date'
Expand Down
1 change: 1 addition & 0 deletions src/components/svg/spinner.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { SVGProps } from 'react'

const SvgSpinner = (props: SVGProps<SVGSVGElement>) => (
<svg
id="spinner"
Expand Down

0 comments on commit e329957

Please sign in to comment.