@@ -108,11 +126,11 @@ function PostCreation(){
Create Post
OP
-
{username}
+
{user?.username}

-
+
value.map((option: string, index: number) => {
@@ -211,6 +229,7 @@ function PostCreation(){
+
diff --git a/code/frontend/tsconfig.json b/code/frontend/tsconfig.json
index a273b0c..eab4d9e 100644
--- a/code/frontend/tsconfig.json
+++ b/code/frontend/tsconfig.json
@@ -1,6 +1,6 @@
{
"compilerOptions": {
- "target": "es5",
+ "target": "es2020",
"lib": [
"dom",
"dom.iterable",