Commit 97acdf9 1 parent 90c6a4b commit 97acdf9 Copy full SHA for 97acdf9
File tree 3 files changed +5
-10
lines changed
3 files changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ export const Footer: React.FC = (_props) => {
55
55
const commitDate = DateTime . fromISO ( gitHash . date )
56
56
const id = open ? 'simple-popover' : undefined
57
57
const configuration = useConfiguration ( )
58
- const copyrightUrl = configuration . copyright
59
58
return (
60
59
< Box
61
60
component = 'footer'
@@ -97,7 +96,7 @@ export const Footer: React.FC = (_props) => {
97
96
< Box component = 'span' sx = { { cursor : 'pointer' } } onClick = { handleClick } >
98
97
{ hash }
99
98
</ Box > { ' ' }
100
- | © { DateTime . fromJSDate ( new Date ( ) ) . year } { copyrightUrl }
99
+ | © { DateTime . fromJSDate ( new Date ( ) ) . year } { configuration . copyright }
101
100
</ Box >
102
101
</ Box >
103
102
)
Original file line number Diff line number Diff line change @@ -128,8 +128,6 @@ const VirtualGmBlurb = () => {
128
128
const GmBlurb = ( ) => {
129
129
const { classes } = useStyles ( )
130
130
const configuration = useConfiguration ( )
131
- const acus = configuration . abbr === 'acus'
132
- const acnw = ! acus
133
131
return (
134
132
< >
135
133
< p >
@@ -141,7 +139,7 @@ const GmBlurb = () => {
141
139
</ p >
142
140
< ol className = { classes . blurb } >
143
141
< li >
144
- { acnw && (
142
+ { configuration . abbr === ' acnw' && (
145
143
< p >
146
144
< strong > Non-Amber Games</ strong > : We encourage people to be creative with the diceless format. If you have
147
145
a game that uses a form of the basic Amber DRPG rules but is not set in Amber, you are welcome to post the
@@ -151,7 +149,7 @@ const GmBlurb = () => {
151
149
familiarity and interest in the setting.
152
150
</ p >
153
151
) }
154
- { acus && (
152
+ { configuration . abbr === ' acus' && (
155
153
< p >
156
154
< strong > Non-Amber or non-Diceless Games</ strong > : We encourage you to be creative and run games that are
157
155
fun for you. We welcome a wide variety of games and settings. If you like to run it, chances are, we'll
@@ -198,7 +196,7 @@ const GmBlurb = () => {
198
196
do.
199
197
</ p >
200
198
</ li >
201
- { acus && (
199
+ { configuration . abbr === ' acus' && (
202
200
< li >
203
201
< p >
204
202
< strong > Minimum Number of Players</ strong > : We no longer accept games that require more than three
Original file line number Diff line number Diff line change @@ -34,8 +34,6 @@ export const Payment: React.FC = () => {
34
34
// console.log('Payment', { paymentIntent })
35
35
36
36
const configuration = useConfiguration ( )
37
- const acus = configuration . abbr === 'acus'
38
- const acnw = ! acus
39
37
40
38
return (
41
39
< Page title = 'Make Payment' >
@@ -57,7 +55,7 @@ export const Payment: React.FC = () => {
57
55
) : (
58
56
< Loader />
59
57
) }
60
- { acnw && balance < 0 ? (
58
+ { configuration . abbr === ' acnw' && balance < 0 ? (
61
59
< >
62
60
< DialogContentText sx = { { pt : 2 } } >
63
61
Alternatively, write a check for < strong > ${ Math . max ( 0 - balance , 0 ) } </ strong > made out to{ ' ' }
You can’t perform that action at this time.
0 commit comments