Skip to content

Commit

Permalink
main => testnet (#471)
Browse files Browse the repository at this point in the history
* fix: show name and add event stop for crowdfund (#455)

* fix: remove unused flex

* fix: show name and add event stop for crowdfund

* fix: copy grammar in profile page in empty state (#456)

* fix: copy grammar in profile page in empty state

* doc: fix PR template

* fix: has mirrored from mirrored publications (#457)

* fix: spinner color for mirror

* feat: show has collected (#458)

* fix: remove unwanted pubId (#460)

* fix: use fragments 🎉 (#461)

* fix: use fragments 🎉

* fix: community avatar

* chore: rename to ProfileFields

* fix: ProfileFields

* fix: community profile

* chore: use shuttle-5

Co-Authored-By: sasi.eth <me@sasi.codes>

* chore: remove explicit types from useState (#463)

* feat: worldcoin badge 🧿 (#462)

* feat: add worldcoin badge

* fix: use flex-wrap

* chore(deps): bump wagmi from 0.6.3 to 0.6.4 (#465)

* chore(deps): bump undici from 5.8.1 to 5.9.1 (#466)

* chore(deps): bump @giphy/react-components from 6.1.0 to 6.1.1 (#469)

Bumps [@giphy/react-components](https://github.com/Giphy/giphy-js) from 6.1.0 to 6.1.1.
- [Release notes](https://github.com/Giphy/giphy-js/releases)
- [Commits](https://github.com/Giphy/giphy-js/compare/@giphy/react-components@6.1.0...@giphy/react-components@6.1.1)

---
updated-dependencies:
- dependency-name: "@giphy/react-components"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump zustand from 4.0.0 to 4.1.0 (#470)

Bumps [zustand](https://github.com/pmndrs/zustand) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/pmndrs/zustand/releases)
- [Commits](pmndrs/zustand@v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: zustand
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: sasi.eth <me@sasi.codes>
Co-authored-by: Shanmughapriyan S <priyanshan03@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
4 people committed Aug 19, 2022
1 parent add4e74 commit 42d44a0
Show file tree
Hide file tree
Showing 80 changed files with 353 additions and 388 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Fixes # (issue)

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Chore changes (non-breaking small changes to existing functionality)
- [ ] Enhancement (non-breaking small changes to existing functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update

Expand Down
88 changes: 47 additions & 41 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@apollo/client": "^3.6.9",
"@bundlr-network/client": "^0.8.0",
"@giphy/js-fetch-api": "^4.3.1",
"@giphy/react-components": "^6.1.0",
"@giphy/react-components": "^6.1.1",
"@headlessui/react": "^1.6.6",
"@heroicons/react": "^1.0.6",
"@hookform/resolvers": "^2.9.6",
Expand Down Expand Up @@ -52,9 +52,9 @@
"react-mentions": "4.4.7",
"use-streak": "^1.0.4",
"uuid": "^8.3.2",
"wagmi": "^0.6.3",
"wagmi": "^0.6.4",
"zod": "^3.18.0",
"zustand": "^4.0.0"
"zustand": "^4.1.0"
},
"devDependencies": {
"@graphql-codegen/cli": "^2.11.6",
Expand Down
6 changes: 3 additions & 3 deletions src/components/Comment/New.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ const NewComment: FC<Props> = ({ setShowModal, hideCard = false, publication, ty
const setSelectedModule = useCollectModuleStore((state) => state.setSelectedModule);
const feeData = useCollectModuleStore((state) => state.feeData);
const setFeeData = useCollectModuleStore((state) => state.setFeeData);
const [commentContentError, setCommentContentError] = useState<string>('');
const [onlyFollowers, setOnlyFollowers] = useState<boolean>(false);
const [isUploading, setIsUploading] = useState<boolean>(false);
const [commentContentError, setCommentContentError] = useState('');
const [onlyFollowers, setOnlyFollowers] = useState(false);
const [isUploading, setIsUploading] = useState(false);
const [attachments, setAttachments] = useState<LensterAttachment[]>([]);
const { isLoading: signLoading, signTypedDataAsync } = useSignTypedData({
onError: (error) => {
Expand Down
6 changes: 3 additions & 3 deletions src/components/Community/Details.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ interface Props {

const Details: FC<Props> = ({ community }) => {
const currentUser = useAppPersistStore((state) => state.currentUser);
const [showMembersModal, setShowMembersModal] = useState<boolean>(false);
const [showSettingsModal, setShowSettingsModal] = useState<boolean>(false);
const [joined, setJoined] = useState<boolean>(community?.hasCollectedByMe);
const [showMembersModal, setShowMembersModal] = useState(false);
const [showSettingsModal, setShowSettingsModal] = useState(false);
const [joined, setJoined] = useState(community?.hasCollectedByMe);

const MetaDetails = ({ children, icon }: { children: ReactNode; icon: ReactNode }) => (
<div className="flex gap-2 items-center">
Expand Down
8 changes: 4 additions & 4 deletions src/components/Community/New.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ const NewCommunity: NextPage = () => {
const setUserSigNonce = useAppStore((state) => state.setUserSigNonce);
const isAuthenticated = useAppPersistStore((state) => state.isAuthenticated);
const currentUser = useAppPersistStore((state) => state.currentUser);
const [avatar, setAvatar] = useState<string>();
const [avatarType, setAvatarType] = useState<string>();
const [isUploading, setIsUploading] = useState<boolean>(false);
const [uploading, setUploading] = useState<boolean>(false);
const [avatar, setAvatar] = useState('');
const [avatarType, setAvatarType] = useState('');
const [isUploading, setIsUploading] = useState(false);
const [uploading, setUploading] = useState(false);
const { isLoading: signLoading, signTypedDataAsync } = useSignTypedData({
onError: (error) => {
toast.error(error?.message);
Expand Down
12 changes: 6 additions & 6 deletions src/components/Crowdfund/New.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@ const newCrowdfundSchema = object({
});

const NewCrowdfund: NextPage = () => {
const [cover, setCover] = useState<string>();
const [coverType, setCoverType] = useState<string>();
const [isUploading, setIsUploading] = useState<boolean>(false);
const [uploading, setUploading] = useState<boolean>(false);
const [selectedCurrency, setSelectedCurrency] = useState<string>(DEFAULT_COLLECT_TOKEN);
const [selectedCurrencySymobol, setSelectedCurrencySymobol] = useState<string>('WMATIC');
const [cover, setCover] = useState('');
const [coverType, setCoverType] = useState('');
const [isUploading, setIsUploading] = useState(false);
const [uploading, setUploading] = useState(false);
const [selectedCurrency, setSelectedCurrency] = useState(DEFAULT_COLLECT_TOKEN);
const [selectedCurrencySymobol, setSelectedCurrencySymobol] = useState('WMATIC');
const userSigNonce = useAppStore((state) => state.userSigNonce);
const setUserSigNonce = useAppStore((state) => state.setUserSigNonce);
const isAuthenticated = useAppPersistStore((state) => state.isAuthenticated);
Expand Down
4 changes: 2 additions & 2 deletions src/components/Explore/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ const Explore: NextPage = () => {
const {
query: { type }
} = useRouter();
const [feedType, setFeedType] = useState<string>(
const [feedType, setFeedType] = useState(
type && ['top_commented', 'top_collected', 'top_mirrored', 'latest'].includes(type as string)
? type?.toString().toUpperCase()
? type.toString().toUpperCase()
: 'TOP_COMMENTED'
);

Expand Down
6 changes: 3 additions & 3 deletions src/components/Home/RecommendedProfiles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Card, CardBody } from '@components/UI/Card';
import { EmptyState } from '@components/UI/EmptyState';
import { ErrorMessage } from '@components/UI/ErrorMessage';
import { Profile } from '@generated/types';
import { MinimalProfileFields } from '@gql/MinimalProfileFields';
import { ProfileFields } from '@gql/ProfileFields';
import { UsersIcon } from '@heroicons/react/outline';
import { LightningBoltIcon, SparklesIcon } from '@heroicons/react/solid';
import randomizeArray from '@lib/randomizeArray';
Expand All @@ -15,11 +15,11 @@ import { useAppPersistStore } from 'src/store/app';
const RECOMMENDED_PROFILES_QUERY = gql`
query RecommendedProfiles {
recommendedProfiles {
...MinimalProfileFields
...ProfileFields
isFollowedByMe
}
}
${MinimalProfileFields}
${ProfileFields}
`;

const Title = () => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Notification/Icon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const NotificationIcon: FC = () => {
const currentUser = useAppPersistStore((state) => state.currentUser);
const notificationCount = useAppPersistStore((state) => state.notificationCount);
const setNotificationCount = useAppPersistStore((state) => state.setNotificationCount);
const [showBadge, setShowBadge] = useState<boolean>(false);
const [showBadge, setShowBadge] = useState(false);
const { data } = useQuery(NOTIFICATION_COUNT_QUERY, {
variables: { request: { profileId: currentUser?.id } },
skip: !currentUser?.id
Expand Down
Loading

0 comments on commit 42d44a0

Please sign in to comment.