Skip to content

Commit 9aee08b

Browse files
committed
using civil-client
1 parent 38400b9 commit 9aee08b

File tree

5 files changed

+74
-8
lines changed

5 files changed

+74
-8
lines changed

app/client/main-app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict'
22

3-
import clientMain from '../../node_modules/civil-server/dist/client/main'
3+
import { clientMain } from 'civil-client'
44
import App from '../components/app'
55

66
// this is the entry point for the client App running on the browser

app/web-components/cc-wrapper/ending.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict;'
22
import React, { useState } from 'react'
33
import { createUseStyles } from 'react-jss'
4-
import AuthForm from '../../../node_modules/civil-server/dist/components/auth-form' // pull components for the client out from the repo, so that server side stuff is not pulled into the client
4+
import { AuthForm } from 'civil-client' // pull components for the client out from the repo, so that server side stuff is not pulled into the client
55
import createParticipant from '../../components/lib/create-participant'
66
import SurveyForm from './survey-form'
77
import Input from '../../components/lib/input'

app/web-components/undebate.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import cx from 'classnames'
66
import Join from '../components/join'
77
import Input from '../components/lib/input'
88
import SocialShareBtn from '../components/lib/socialShareBtn'
9-
import AuthForm from '../../node_modules/civil-server/dist/components/auth-form' // pull components for the client out from the repo, so that server side stuff is not pulled into the client path is relative to app not root
9+
import { AuthForm } from 'civil-client' // pull components for the client out from the repo, so that server side stuff is not pulled into the client path is relative to app not root
1010
import TimeFormat from 'hh-mm-ss'
1111
import cloneDeep from 'lodash/cloneDeep'
1212
import getYouTubeID from 'get-youtube-id'

package-lock.json

+69-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@
6464
"babel-loader": "^8.2.2",
6565
"body-parser": "^1.19.0",
6666
"circular-dependency-plugin": "^5.2.2",
67-
"civil-server": "github:EnCiv/civil-server#v0.0.10",
67+
"civil-client": "github:EnCiv/civil-client",
68+
"civil-server": "github:EnCiv/civil-server#civ-client",
6869
"classnames": "^2.3.1",
6970
"cloudinary": "^1.25.1",
7071
"color": "^3.1.3",

0 commit comments

Comments
 (0)