Skip to content

Commit

Permalink
using civil-client
Browse files Browse the repository at this point in the history
  • Loading branch information
ddfridley committed Aug 10, 2021
1 parent 38400b9 commit 9aee08b
Show file tree
Hide file tree
Showing 5 changed files with 74 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app/client/main-app.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'

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

// this is the entry point for the client App running on the browser
Expand Down
2 changes: 1 addition & 1 deletion app/web-components/cc-wrapper/ending.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict;'
import React, { useState } from 'react'
import { createUseStyles } from 'react-jss'
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
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
import createParticipant from '../../components/lib/create-participant'
import SurveyForm from './survey-form'
import Input from '../../components/lib/input'
Expand Down
2 changes: 1 addition & 1 deletion app/web-components/undebate.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import cx from 'classnames'
import Join from '../components/join'
import Input from '../components/lib/input'
import SocialShareBtn from '../components/lib/socialShareBtn'
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
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
import TimeFormat from 'hh-mm-ss'
import cloneDeep from 'lodash/cloneDeep'
import getYouTubeID from 'get-youtube-id'
Expand Down
73 changes: 69 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
"babel-loader": "^8.2.2",
"body-parser": "^1.19.0",
"circular-dependency-plugin": "^5.2.2",
"civil-server": "github:EnCiv/civil-server#v0.0.10",
"civil-client": "github:EnCiv/civil-client",
"civil-server": "github:EnCiv/civil-server#civ-client",
"classnames": "^2.3.1",
"cloudinary": "^1.25.1",
"color": "^3.1.3",
Expand Down

0 comments on commit 9aee08b

Please sign in to comment.