Skip to content

Commit

Permalink
fix: lots of little fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hiporox committed Apr 16, 2024
1 parent e9181b7 commit 64a832f
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ NEXT_PUBLIC_APP_MNENOMIC = 'candy maple cake sugar honey ... potato blue'
NEXT_PUBLIC_SUPABASE_URL = ''
NEXT_PUBLIC_SUPABASE_ANON_KEY = ''
NEXT_PUBLIC_NEYNAR_API_KEY = ''
NEXT_PUBLIC_ALCHEMY_API_KEY=''
NEXT_PUBLIC_ALCHEMY_API_KEY = ''

# The following are required for tracking
# and deployment purposes. They are also sensative
# but not required for local development
NEXT_PUBLIC_SENTRY_DSN = ''
NEXT_PUBLIC_POSTHOG_KEY=
NEXT_PUBLIC_POSTHOG_HOST=
NEXT_PUBLIC_POSTHOG_KEY =
NEXT_PUBLIC_POSTHOG_HOST =
14 changes: 7 additions & 7 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ jobs:
# name: release-${{ matrix.os }}
# path: |
# src-tauri/target/release/**/*
- name: Sentry Release
if: github.ref == 'refs/heads/main'
uses: getsentry/[email protected]
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
# - name: Sentry Release
# if: github.ref == 'refs/heads/main'
# uses: getsentry/[email protected]
# env:
# SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
# SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
# SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,6 @@ edgefunctions/supabase/.temp

dist/
.vercel

# Visual Studio settings
.vscode
1 change: 1 addition & 0 deletions src/common/helpers/rainbowkit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export const config = getDefaultConfig({
appName: "herocast",
projectId: "b34f1019e33e832831871e41741f13fc",
chains: [optimism],
ssr: true,
});

export const rainbowKitTheme = midnightTheme({
Expand Down
1 change: 0 additions & 1 deletion src/common/helpers/supabase.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { createClient } from '@supabase/supabase-js'
import isEmpty from 'lodash.isempty';
import { AccountStatusType } from '../constants/accounts';

Expand Down
2 changes: 0 additions & 2 deletions src/home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,8 @@ type NavigationItemType = {

const Home = ({ children }: { children: React.ReactNode }) => {
const router = useRouter();
const supabase = createClient()

const { pathname, asPath } = router;
const locationHash = asPath.split("#")[1];
const [sidebarOpen, setSidebarOpen] = useState(false);
const { allChannels, selectedChannelUrl } = useAccountStore();

Expand Down
2 changes: 1 addition & 1 deletion supabase/config.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# A string used to distinguish different Supabase projects on the same host. Defaults to the
# working directory name when running `supabase init`.
project_id = "herocast"
project_id = "nounpsace"

[api]
enabled = true
Expand Down

0 comments on commit 64a832f

Please sign in to comment.