Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
love_飞影
Neos
Commits
eebf7ebd
Commit
eebf7ebd
authored
Oct 30, 2022
by
Chunchi Che
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sync neos-protobuf and small
parent
740f4fda
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
neos-protobuf
neos-protobuf
+1
-1
src/ui/Mora.tsx
src/ui/Mora.tsx
+1
-0
src/ui/WaitRoom.tsx
src/ui/WaitRoom.tsx
+9
-10
No files found.
neos-protobuf
@
d1901b32
Subproject commit
6ab136c4f46e389b67010fc84389042c740a124d
Subproject commit
d1901b32953c3f334ad377a52d8049dbb0302ad1
src/ui/Mora.tsx
View file @
eebf7ebd
...
...
@@ -8,6 +8,7 @@ import "../css/Mora.css";
import
{
useAppSelector
}
from
"
../hook
"
;
import
{
selectMoraSelectAble
}
from
"
../reducers/moraSlice
"
;
// TODO: 应该展示对手卡组信息和聊天信息
export
default
function
Mora
()
{
const
selectAble
=
useAppSelector
(
selectMoraSelectAble
);
return
(
...
...
src/ui/WaitRoom.tsx
View file @
eebf7ebd
...
...
@@ -87,16 +87,15 @@ export default function WaitRoom() {
</
p
>
<
p
>
<
button
// disabled={
// !(
// isHost &&
// player0.state != undefined &&
// player0.state === READY_STATE &&
// player1.state != undefined &&
// player1.state === READY_STATE
// )
// }
disabled=
{
false
}
disabled=
{
!
(
isHost
&&
player0
.
state
!=
undefined
&&
player0
.
state
===
READY_STATE
&&
player1
.
state
!=
undefined
&&
player1
.
state
===
READY_STATE
)
}
onClick=
{
handleChoseStart
}
>
<
Link
to=
{
{
pathname
:
`/mora`
}
}
>
start
</
Link
>
...
...
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