Skip to content

Commit

Permalink
Merge branch 'preview'
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelfan committed Dec 20, 2023
2 parents 9a636c5 + c953dff commit 575bb3e
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "../styles/globals.css";
import SessionProvider from "./providers/session";
import { getSessionFromServer } from "./api/auth/[...nextauth]/route";
import QueryProvider from "./providers/query";
import { ComposerProvider } from "./providers/compoter";
import { ComposerProvider } from "./providers/composer";
import ToastProvider from "./providers/toast";
import { ScrollProvider } from "./providers/scroll";

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/components/actions/composeButton/ComposeButton.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client"

import { Icon } from "@iconify/react/dist/iconify.js";
import { useComposerContext } from "@/app/providers/compoter";
import { useComposerContext } from "@/app/providers/composer";
import { useScrollContext } from "@/app/providers/scroll";

interface Props {
Expand Down
2 changes: 1 addition & 1 deletion src/components/actions/composer/Composer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client";

import { useComposerContext } from "@/app/providers/compoter";
import { useComposerContext } from "@/app/providers/composer";
import Editor from "@/components/inputs/editor/Editor";
import { ProfileViewDetailed } from "@atproto/api/dist/client/types/app/bsky/actor/defs";
import * as Dialog from "@radix-ui/react-dialog";
Expand Down
2 changes: 1 addition & 1 deletion src/components/dataDisplay/postActions/PostActions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { useSession } from "next-auth/react";
import Link from "next/link";
import { abbreviateNumber } from "@/lib/utils/number";
import useDeletePost from "@/lib/hooks/bsky/feed/useDeletePost";
import { useComposerContext } from "@/app/providers/compoter";
import { useComposerContext } from "@/app/providers/composer";
import toast from "react-hot-toast";

interface Props {
Expand Down
2 changes: 1 addition & 1 deletion src/components/inputs/editor/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import CharacterCount from "@tiptap/extension-character-count";
import { useState } from "react";
import { CreateMentionSuggestions } from "./CreateMentionSuggestions";
import useSearchUsers from "@/lib/hooks/bsky/actor/useSearchUsers";
import { ComposerOptions } from "@/app/providers/compoter";
import { ComposerOptions } from "@/app/providers/composer";
import ReplyToPreview from "./ReplyToPreview";
import QuoteToPreview from "./QuotePreview";
import { getComposerPlaceholder } from "@/lib/utils/text";
Expand Down
2 changes: 1 addition & 1 deletion src/components/inputs/editor/QuotePreview.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import FallbackAvatar from "@/assets/images/fallbackAvatar.png";
import { ComposerOptionsQuote } from "@/app/providers/compoter";
import { ComposerOptionsQuote } from "@/app/providers/composer";
import Image from "next/image";
import { getRelativeTime } from "@/lib/utils/time";

Expand Down
2 changes: 1 addition & 1 deletion src/components/inputs/editor/ReplyToPreview.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import FallbackAvatar from "@/assets/images/fallbackAvatar.png";
import { ComposerOptionsPostRef } from "@/app/providers/compoter";
import { ComposerOptionsPostRef } from "@/app/providers/composer";
import Image from "next/image";

interface Props {
Expand Down
2 changes: 1 addition & 1 deletion src/lib/hooks/bsky/feed/usePublishPost.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {
ComposerOptionsPostRef,
ComposerOptionsQuote,
} from "@/app/providers/compoter";
} from "@/app/providers/composer";
import {
AppBskyEmbedExternal,
AppBskyEmbedImages,
Expand Down

0 comments on commit 575bb3e

Please sign in to comment.