forked from abner/for-legacy-web
Use tabWidth 4 without actual tabs.
This commit is contained in:
@@ -11,31 +11,31 @@ import { useUserPermission } from "../../context/revoltjs/hooks";
|
||||
import Header from "../../components/ui/Header";
|
||||
|
||||
export default function Developer() {
|
||||
// const voice = useContext(VoiceContext);
|
||||
const client = useContext(AppContext);
|
||||
const userPermission = useUserPermission(client.user!._id);
|
||||
// const voice = useContext(VoiceContext);
|
||||
const client = useContext(AppContext);
|
||||
const userPermission = useUserPermission(client.user!._id);
|
||||
|
||||
return (
|
||||
<div>
|
||||
<Header placement="primary">
|
||||
<Wrench size="24" />
|
||||
Developer Tab
|
||||
</Header>
|
||||
<div style={{ padding: "16px" }}>
|
||||
<PaintCounter always />
|
||||
</div>
|
||||
<div style={{ padding: "16px" }}>
|
||||
<b>User ID:</b> {client.user!._id} <br />
|
||||
<b>Permission against self:</b> {userPermission} <br />
|
||||
</div>
|
||||
<div style={{ padding: "16px" }}>
|
||||
<TextReact
|
||||
id="login.open_mail_provider"
|
||||
fields={{ provider: <b>GAMING!</b> }}
|
||||
/>
|
||||
</div>
|
||||
<div style={{ padding: "16px" }}>
|
||||
{/*<span>
|
||||
return (
|
||||
<div>
|
||||
<Header placement="primary">
|
||||
<Wrench size="24" />
|
||||
Developer Tab
|
||||
</Header>
|
||||
<div style={{ padding: "16px" }}>
|
||||
<PaintCounter always />
|
||||
</div>
|
||||
<div style={{ padding: "16px" }}>
|
||||
<b>User ID:</b> {client.user!._id} <br />
|
||||
<b>Permission against self:</b> {userPermission} <br />
|
||||
</div>
|
||||
<div style={{ padding: "16px" }}>
|
||||
<TextReact
|
||||
id="login.open_mail_provider"
|
||||
fields={{ provider: <b>GAMING!</b> }}
|
||||
/>
|
||||
</div>
|
||||
<div style={{ padding: "16px" }}>
|
||||
{/*<span>
|
||||
<b>Voice Status:</b> {VoiceStatus[voice.status]}
|
||||
</span>
|
||||
<br />
|
||||
@@ -48,7 +48,7 @@ export default function Developer() {
|
||||
{Array.from(voice.participants.keys()).join(", ")}]
|
||||
</span>
|
||||
<br />*/}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user