Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #211

Merged
merged 37 commits into from
Sep 8, 2023
Merged

Fixes #211

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
4f0b313
Merge pull request #101 from near-ndc/develop
Megha-Dev-19 Jun 2, 2023
68e8cdb
Merge pull request #107 from near-ndc/develop
Megha-Dev-19 Jun 5, 2023
c9c2a8a
fix wallet connector HERE/Meteor wallets
rubycop Jun 19, 2023
e627478
Merge pull request #121 from near-ndc/update-wallet-connector
rubycop Jun 21, 2023
f28802d
Merge branch 'master' into resolve
Megha-Dev-19 Jun 26, 2023
0d4918b
Merge pull request #125 from near-ndc/resolve
Megha-Dev-19 Jun 26, 2023
324749a
Merge pull request #129 from near-ndc/develop
Megha-Dev-19 Jun 27, 2023
aca0f5a
Merge pull request #133 from near-ndc/develop
Megha-Dev-19 Jun 30, 2023
d6a2cfe
Merge pull request #134 from near-ndc/develop
Megha-Dev-19 Jul 3, 2023
de2a166
Merge pull request #137 from near-ndc/develop
Megha-Dev-19 Jul 5, 2023
a0a5871
Merge pull request #141 from near-ndc/develop
Megha-Dev-19 Jul 7, 2023
6b01931
Merge pull request #143 from near-ndc/develop
Megha-Dev-19 Jul 11, 2023
cfaa22f
Merge pull request #146 from near-ndc/develop
Megha-Dev-19 Jul 18, 2023
4ff9dcf
Merge pull request #148 from near-ndc/develop
Megha-Dev-19 Jul 18, 2023
c1ec43f
Merge pull request #152 from near-ndc/develop
Megha-Dev-19 Jul 18, 2023
5517360
Merge pull request #154 from near-ndc/develop
Megha-Dev-19 Jul 20, 2023
ed91b3b
Merge pull request #156 from near-ndc/develop
Megha-Dev-19 Jul 21, 2023
82a297c
Merge pull request #159 from near-ndc/develop
janewang Jul 31, 2023
2753075
Merge pull request #161 from near-ndc/develop
Megha-Dev-19 Aug 1, 2023
0c189a2
Merge pull request #163 from near-ndc/develop
Megha-Dev-19 Aug 2, 2023
ed29577
Merge pull request #165 from near-ndc/develop
Megha-Dev-19 Aug 8, 2023
e68fa90
Merge pull request #170 from near-ndc/develop
Megha-Dev-19 Aug 9, 2023
6505109
Merge pull request #172 from near-ndc/develop
Megha-Dev-19 Aug 11, 2023
b5c9e37
Merge pull request #175 from near-ndc/develop
janewang Aug 17, 2023
3e5d489
Merge pull request #177 from near-ndc/develop
Megha-Dev-19 Aug 17, 2023
0605e7c
Merge pull request #179 from near-ndc/develop
janewang Aug 18, 2023
c48db6a
Merge pull request #184 from near-ndc/develop
Megha-Dev-19 Aug 22, 2023
e2af93a
Merge pull request #187 from near-ndc/develop
Megha-Dev-19 Aug 22, 2023
de052f1
Merge pull request #189 from near-ndc/develop
Megha-Dev-19 Aug 22, 2023
456d688
Merge pull request #192 from near-ndc/develop
Megha-Dev-19 Aug 24, 2023
0caba09
Merge pull request #195 from near-ndc/develop
Megha-Dev-19 Aug 29, 2023
abe94fd
Merge pull request #200 from near-ndc/develop
Megha-Dev-19 Sep 1, 2023
409c7c1
Merge pull request #203 from near-ndc/develop
Megha-Dev-19 Sep 5, 2023
4e78b94
Merge pull request #206 from near-ndc/develop
Megha-Dev-19 Sep 5, 2023
39dc6de
Merge pull request #208 from near-ndc/develop
Megha-Dev-19 Sep 6, 2023
8d75774
Merge pull request #210 from near-ndc/develop
janewang Sep 8, 2023
31104e1
Fix: update mods issuer and countdown timer
janewang Sep 8, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/common/ProgressTracker.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@

const getRegisteredPercentage = useCallback(
() => (humansRegistered / ProgressMeterMax) * 100,
[humansRegistered]

Check warning on line 47 in src/components/common/ProgressTracker.jsx

View workflow job for this annotation

GitHub Actions / Lint and Format code

React Hook useCallback has a missing dependency: 'ProgressMeterMax'. Either include it or remove the dependency array
);

// to make sure the the right corner is not clipped much with increasing width
Expand Down Expand Up @@ -76,8 +76,8 @@
function updateCountdown() {
const nowLocal = moment(); // Get the current local time
const timestamp = electionStarted
? IAHShutDownEndTime
: IAHShutDownStartTime;
? IAHShutDownStartTime
: IAHShutDownEndTime;
const futureDateLocal = timestamp.clone().tz(userTimezone);

// Calculate the time remaining
Expand All @@ -101,7 +101,7 @@
const interval = setInterval(updateCountdown, 1000);

return () => clearInterval(interval);
}, []);

Check warning on line 104 in src/components/common/ProgressTracker.jsx

View workflow job for this annotation

GitHub Actions / Lint and Format code

React Hook useEffect has missing dependencies: 'updateCountdown' and 'userTimezone'. Either include them or remove the dependency array

const NumberContainer = ({ number, text }) => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/utils/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export function getConfig() {
succes_fractal_state: 'facescan',
regen_issuer_contract: 'issuer.regens.near',
vibe_issuer_contract: 'issuer.proofofvibes.near',
mods_issuer: 'gwg.sputnik-dao.near',
mods_issuer: 'community.i-am-human.near',
election_contract: 'elections.ndc-gwg.near',
};
switch (environment) {
Expand Down
Loading