forked from DA0-DA0/dao-dao-ui
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Treasury Overhaul (with refactor), ICA, Polytone expansion to Terra a…
…nd Migaloo, and Skip API adoption (DA0-DA0#1509)
- Loading branch information
Showing
429 changed files
with
14,958 additions
and
7,420 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// GNU AFFERO GENERAL PUBLIC LICENSE Version 3. Copyright (C) 2022 DAO DAO Contributors. | ||
// See the "LICENSE" file in the root directory of this package for more copyright information. | ||
|
||
import { GetStaticPaths, GetStaticProps } from 'next' | ||
|
||
import { serverSideTranslations } from '@dao-dao/i18n/serverSideTranslations' | ||
import { Account } from '@dao-dao/stateful' | ||
|
||
export default Account | ||
|
||
export const getStaticProps: GetStaticProps = async ({ locale }) => ({ | ||
props: { | ||
...(await serverSideTranslations(locale, ['translation'])), | ||
}, | ||
}) | ||
|
||
export const getStaticPaths: GetStaticPaths = () => ({ | ||
paths: [], | ||
fallback: true, | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// GNU AFFERO GENERAL PUBLIC LICENSE Version 3. Copyright (C) 2022 DAO DAO Contributors. | ||
// See the "LICENSE" file in the root directory of this package for more copyright information. | ||
|
||
// This file configures the initialization of Sentry on the server. | ||
// The config you add here will be used whenever the server handles a request. | ||
// https://docs.sentry.io/platforms/javascript/guides/nextjs/ | ||
|
||
import * as Sentry from '@sentry/nextjs' | ||
|
||
const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN | ||
|
||
Sentry.init({ | ||
dsn: | ||
SENTRY_DSN || | ||
'https://[email protected]/6592048', | ||
// Adjust this value in production, or use tracesSampler for greater control | ||
tracesSampleRate: 0, | ||
|
||
// Only send errors to Sentry if production environment. | ||
enabled: process.env.NODE_ENV === 'production', | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// GNU AFFERO GENERAL PUBLIC LICENSE Version 3. Copyright (C) 2022 DAO DAO Contributors. | ||
// See the "LICENSE" file in the root directory of this package for more copyright information. | ||
|
||
// This file configures the initialization of Sentry on the server. | ||
// The config you add here will be used whenever the server handles a request. | ||
// https://docs.sentry.io/platforms/javascript/guides/nextjs/ | ||
|
||
import * as Sentry from '@sentry/nextjs' | ||
|
||
const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN | ||
|
||
Sentry.init({ | ||
dsn: | ||
SENTRY_DSN || | ||
'https://[email protected]/4504573184966656', | ||
// Adjust this value in production, or use tracesSampler for greater control | ||
tracesSampleRate: 0, | ||
|
||
// Only send errors to Sentry if production environment. | ||
enabled: process.env.NODE_ENV === 'production', | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.