mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-04-24 03:00:09 -04:00
code review changes from @alaonde to hopefully code #422 🥅
This commit is contained in:
committed by
Alec LaLonde
parent
9fb4b4e04c
commit
51b349745f
@@ -20,11 +20,11 @@
|
||||
"@typeit/discord": "4.0.9",
|
||||
"discord.js": "12.5.1",
|
||||
"dotenv": "8.2.0",
|
||||
"ethers": "4.0.48",
|
||||
"ethers": "5.0.32",
|
||||
"graphql": "15.4.0",
|
||||
"graphql-request": "3.2.0",
|
||||
"graphql-tag": "2.11.0",
|
||||
"node-fetch": "2.6.1",
|
||||
"graphql-request": "3.2.0",
|
||||
"sourcecred": "0.7.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/* eslint no-bitwise: "off" */
|
||||
|
||||
import { Box, ChakraProps, Flex, SVG } from '@metafam/ds';
|
||||
import { FlexContainer } from 'components/Container';
|
||||
import {
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
/* eslint no-bitwise: "off" */
|
||||
|
||||
import {
|
||||
Button,
|
||||
Flex,
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "concurrently \"next\" \"yarn generate --watch\"",
|
||||
"serve": "concurrently \"next start\" \"watch --interval 300 'yarn build'\"",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"typecheck": "tsc",
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// true if the number is a power of 2
|
||||
export const isPow2 = (int: number): boolean => (
|
||||
// eslint-disable-next-line no-bitwise
|
||||
int > 0 && (int & (int - 1)) === 0
|
||||
);
|
||||
Reference in New Issue
Block a user