aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/state.js
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2023-04-07 15:15:37 -0400
committerXe Iaso <me@xeiaso.net>2023-04-08 16:57:48 -0400
commitefbf5faf5b9faaee973fc451e9824e9b0d23b683 (patch)
tree1d781748ece8055e16aa85c8d799fd15f06b1c72 /src/frontend/state.js
parentd46f4963dea14fa98ab2c1332f722df66e2c875c (diff)
downloadxesite-efbf5faf5b9faaee973fc451e9824e9b0d23b683.tar.xz
xesite-efbf5faf5b9faaee973fc451e9824e9b0d23b683.zip
import map: use Xeact 0.70.0 useState
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'src/frontend/state.js')
-rw-r--r--src/frontend/state.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/frontend/state.js b/src/frontend/state.js
deleted file mode 100644
index 195fd24..0000000
--- a/src/frontend/state.js
+++ /dev/null
@@ -1,5 +0,0 @@
-export const useState = (value = undefined) => {
- return [() => value, (x) => {
- value = x;
- }];
-};