Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
travel
Commits
fe5f5fe5
Commit
fe5f5fe5
authored
Jul 20, 2022
by
Yoon, Daeki
😅
Browse files
타입 변경
parent
7835a992
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/post/intopost.tsx
View file @
fe5f5fe5
import
React
,
{
useState
}
from
"
react
"
;
import
React
from
"
react
"
;
import
{
useLocation
,
useParams
}
from
"
react-router-dom
"
;
import
{
useLocation
}
from
"
react-router-dom
"
;
import
{
PostType
}
from
"
../types
"
;
interface
PostState
{
interface
PostState
{
state
:
{
state
:
PostType
;
title
:
string
;
text
:
string
;
theme
:
string
;
city
:
string
;
date
:
string
;
counts
:
number
;
_id
:
string
;
user
:
string
;
};
}
}
export
function
IntoPost
()
{
export
function
IntoPost
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment