fix: bad tsconfig

This commit is contained in:
2023-10-06 14:17:28 +01:00
parent 0ff3aad6cb
commit 585f031ce1
6 changed files with 21 additions and 21 deletions

View File

@ -29,7 +29,7 @@
"react-router-dom": "^6.5.0",
"react-textarea-autosize": "^8.4.0",
"react-twitter-embed": "^4.0.4",
"use-long-press": "^2.0.3",
"use-long-press": "^3.2.0",
"use-sync-external-store": "^1.2.0",
"uuid": "^9.0.0",
"workbox-core": "^6.4.2",

View File

@ -39,14 +39,3 @@
transform-origin: center;
transform: rotate(-135deg) translateY(50%);
}
.avatar .icons > .icon-circle {
display: flex;
align-items: center;
justify-content: center;
transform-origin: center;
padding: 4px;
border-radius: 100%;
background-color: var(--gray-superdark);
transform: rotate(135deg);
}

View File

@ -32,3 +32,14 @@ a.pfp {
.pfp a {
text-decoration: none;
}
.pfp .icon-circle {
display: flex;
align-items: center;
justify-content: center;
transform-origin: center;
padding: 4px;
border-radius: 100%;
background-color: var(--gray-superdark);
transform: rotate(135deg);
}

View File

@ -10,7 +10,7 @@ interface Newest<T> {
timestamp: number;
}
export enum LoginSessionType {
export const enum LoginSessionType {
PrivateKey = "private_key",
PublicKey = "public_key",
Nip7 = "nip7",

View File

@ -2,9 +2,9 @@
"compilerOptions": {
"baseUrl": "src",
"target": "ESNext",
"module": "NodeNext",
"module": "ESNext",
"jsx": "react-jsx",
"moduleResolution": "NodeNext",
"moduleResolution": "Bundler",
"sourceMap": true,
"forceConsistentCasingInFileNames": true,
"strict": true,