From 0fb73af58b59d433680206a9b00f5e0d14b367d6 Mon Sep 17 00:00:00 2001
From: lingdocs <71590811+lingdocs@users.noreply.github.com>
Date: Tue, 12 Apr 2022 13:39:03 +0500
Subject: [PATCH] very beta quiz happening!
---
package.json | 1 +
src/components/np-picker/NPPicker.tsx | 4 +-
src/components/vp-explorer/VPExplorer.tsx | 162 +++++++++++++++++-----
src/lib/shuffle-array.ts | 24 ++++
src/library.ts | 2 +
yarn.lock | 5 +
6 files changed, 161 insertions(+), 37 deletions(-)
create mode 100644 src/lib/shuffle-array.ts
diff --git a/package.json b/package.json
index 23e27d0..a957a9c 100644
--- a/package.json
+++ b/package.json
@@ -26,6 +26,7 @@
"classnames": "^2.2.6",
"pbf": "^3.2.1",
"rambda": "^6.7.0",
+ "react-rewards": "^2.0.3",
"react-select": "^5.2.2"
},
"devDependencies": {
diff --git a/src/components/np-picker/NPPicker.tsx b/src/components/np-picker/NPPicker.tsx
index 9e5b439..4e6c7c6 100644
--- a/src/components/np-picker/NPPicker.tsx
+++ b/src/components/np-picker/NPPicker.tsx
@@ -58,9 +58,9 @@ function NPPicker(props: {
:
;
return
{!npType &&
- {/*
{npTypes.map((npt) =>