Skip to content

Commit

Permalink
fix: after rebase on origin/main
Browse files Browse the repository at this point in the history
  • Loading branch information
WaDadidou committed Nov 16, 2023
1 parent d1ffd12 commit a4f28d9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 26 deletions.
14 changes: 0 additions & 14 deletions go/pkg/freelancepb/freelance.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 1 addition & 8 deletions packages/components/tabs/Tabs.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { GnoJSONRPCProvider } from "@gnolang/gno-js-client";
import { useScrollTo } from "@nandorojo/anchor";
import { LinearGradient } from "expo-linear-gradient";
import { cloneDeep } from "lodash";
Expand All @@ -14,11 +13,6 @@ import {
ViewStyle,
} from "react-native";

import { useFetchFeed } from "../../hooks/feed/useFetchFeed";
import { useSelectedNetworkInfo } from "../../hooks/useSelectedNetwork";
import useSelectedWallet from "../../hooks/useSelectedWallet";
import { NetworkKind } from "../../networks";
import { extractGnoNumber } from "../../utils/gno";
import {
gradientColorBlue,
gradientColorDarkerBlue,
Expand All @@ -35,8 +29,7 @@ import { SVG } from "../SVG";
import { PrimaryBadge } from "../badges/PrimaryBadge";
import { TertiaryBadge } from "../badges/TertiaryBadge";
import { GradientText } from "../gradientText";
import { PostCategory } from "../socialFeed/NewsFeed/NewsFeed.type";
import { SpacerColumn, SpacerRow } from "../spacer";
import { SpacerRow } from "../spacer";

export interface TabDefinition {
name: string;
Expand Down
9 changes: 5 additions & 4 deletions packages/utils/ipfs.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import { omit } from "lodash";

import { mustGetFeedClient } from "./backend";
import { pinataPinFileToIPFS } from "../candymachine/pinata-upload";
import { pinataPinJSONToIPFS } from "../candymachine/pinata-upload";
import { LocalFileData, RemoteFileData } from "./types/files";
import {
pinataPinFileToIPFS,
pinataPinJSONToIPFS,
} from "../candymachine/pinata-upload";

interface UploadPostFilesToPinataParams {
files: LocalFileData[];
Expand Down Expand Up @@ -113,8 +116,6 @@ export const uploadJSONToIPFS = async ({
} else return uploadedFile;
};



// Used to get a correct image URL for displaying or storing
export const ipfsURLToHTTPURL = (ipfsURL: string | undefined) => {
if (!ipfsURL) {
Expand Down

0 comments on commit a4f28d9

Please sign in to comment.