From 359896a23dfa902c4b0ce69af76faed35f97b8ce Mon Sep 17 00:00:00 2001 From: J Date: Mon, 1 Mar 2021 22:38:20 +0000 Subject: [PATCH] interface: fix a few type imports Missed these in the initial pass, found them by looking at "Files Changed" in the Github UI. --- pkg/interface/src/views/apps/publish/components/NoteForm.tsx | 2 +- pkg/interface/src/views/apps/publish/components/new-post.tsx | 2 +- .../src/views/apps/settings/components/lib/BackgroundPicker.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/interface/src/views/apps/publish/components/NoteForm.tsx b/pkg/interface/src/views/apps/publish/components/NoteForm.tsx index f56f3a8c0..06b1cc10d 100644 --- a/pkg/interface/src/views/apps/publish/components/NoteForm.tsx +++ b/pkg/interface/src/views/apps/publish/components/NoteForm.tsx @@ -9,7 +9,7 @@ import { import { AsyncButton } from "../../../components/AsyncButton"; import { Formik, Form, FormikHelpers } from "formik"; import { MarkdownField } from "./MarkdownField"; -import { GcpState, S3State } from "~/types"; +import { StorageState } from "~/types"; interface PostFormProps { initial: PostFormSchema; diff --git a/pkg/interface/src/views/apps/publish/components/new-post.tsx b/pkg/interface/src/views/apps/publish/components/new-post.tsx index d039ca38a..6f5cdbee0 100644 --- a/pkg/interface/src/views/apps/publish/components/new-post.tsx +++ b/pkg/interface/src/views/apps/publish/components/new-post.tsx @@ -6,7 +6,7 @@ import { RouteComponentProps } from "react-router-dom"; import { PostForm, PostFormSchema } from "./NoteForm"; import {createPost} from "~/logic/api/graph"; import {Graph} from "~/types/graph-update"; -import {Association, GcpState, S3State} from "~/types"; +import {Association, StorageState} from "~/types"; import {newPost} from "~/logic/lib/publish"; interface NewPostProps { diff --git a/pkg/interface/src/views/apps/settings/components/lib/BackgroundPicker.tsx b/pkg/interface/src/views/apps/settings/components/lib/BackgroundPicker.tsx index f1ec8b299..f1a76dae9 100644 --- a/pkg/interface/src/views/apps/settings/components/lib/BackgroundPicker.tsx +++ b/pkg/interface/src/views/apps/settings/components/lib/BackgroundPicker.tsx @@ -9,7 +9,7 @@ import { } from "@tlon/indigo-react"; import GlobalApi from "~/logic/api/global"; -import { StorageState, } from "~/types"; +import { StorageState } from "~/types"; import { ImageInput } from "~/views/components/ImageInput"; import {ColorInput} from "~/views/components/ColorInput";