Merge pull request #3908 from nymtech/jon/remove-growth-test-and-earn
Remove unused test-and-earn from nym-connect
This commit is contained in:
@@ -7,7 +7,6 @@ import { ClientContextProvider } from './context/main';
|
||||
import { ErrorFallback } from './components/Error';
|
||||
import { NymMixnetTheme } from './theme';
|
||||
import { AppWindowFrame } from './components/AppWindowFrame';
|
||||
import { TestAndEarnContextProvider } from './components/Growth/context/TestAndEarnContext';
|
||||
import { AppRoutes } from './routes';
|
||||
|
||||
const elem = document.getElementById('root');
|
||||
@@ -18,14 +17,12 @@ if (elem) {
|
||||
<ErrorBoundary FallbackComponent={ErrorFallback}>
|
||||
<Router>
|
||||
<ClientContextProvider>
|
||||
<TestAndEarnContextProvider>
|
||||
<GlobalStyles styles={{ html: { borderRadius: 10 } }} />
|
||||
<NymMixnetTheme mode="dark">
|
||||
<AppWindowFrame>
|
||||
<AppRoutes />
|
||||
</AppWindowFrame>
|
||||
</NymMixnetTheme>
|
||||
</TestAndEarnContextProvider>
|
||||
<GlobalStyles styles={{ html: { borderRadius: 10 } }} />
|
||||
<NymMixnetTheme mode="dark">
|
||||
<AppWindowFrame>
|
||||
<AppRoutes />
|
||||
</AppWindowFrame>
|
||||
</NymMixnetTheme>
|
||||
</ClientContextProvider>
|
||||
</Router>
|
||||
</ErrorBoundary>,
|
||||
|
||||
@@ -4,7 +4,6 @@ const { webpackCommon } = require('@nymproject/webpack');
|
||||
|
||||
const entry = {
|
||||
app: path.resolve(__dirname, 'src/index.tsx'),
|
||||
growth: path.resolve(__dirname, 'src/growth.tsx'),
|
||||
log: path.resolve(__dirname, 'src/log.tsx'),
|
||||
};
|
||||
|
||||
@@ -19,7 +18,6 @@ module.exports = mergeWithRules({
|
||||
webpackCommon(__dirname, [
|
||||
{ filename: 'index.html', chunks: ['app'], template: path.resolve(__dirname, 'public/index.html') },
|
||||
{ filename: 'log.html', chunks: ['log'], template: path.resolve(__dirname, 'public/log.html') },
|
||||
{ filename: 'growth.html', chunks: ['growth'], template: path.resolve(__dirname, 'public/growth.html') },
|
||||
]),
|
||||
{
|
||||
module: {
|
||||
|
||||
@@ -4,7 +4,6 @@ const common = require('./webpack.common');
|
||||
|
||||
const entry = {
|
||||
app: path.resolve(__dirname, 'src/index.tsx'),
|
||||
growth: path.resolve(__dirname, 'src/growth.tsx'),
|
||||
log: path.resolve(__dirname, 'src/log.tsx'),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user