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:
Tommy Verrall
2023-09-21 15:37:32 +02:00
committed by GitHub
3 changed files with 6 additions and 12 deletions
+6 -9
View File
@@ -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>,
-2
View File
@@ -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: {
-1
View File
@@ -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'),
};