mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 16:43:25 +00:00
dumb ci
This commit is contained in:
@@ -11,12 +11,14 @@ import { useAuth } from "~/hooks/useAuth";
|
|||||||
|
|
||||||
export default function Page() {
|
export default function Page() {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const { deviceName, colorA, colorB, icon } = useLocalSearchParams<{
|
// Requires type casting, typecheck fails for type-safe params
|
||||||
deviceName: string;
|
const { deviceName, colorA, colorB, icon } =
|
||||||
colorA: string;
|
useLocalSearchParams() as unknown as {
|
||||||
colorB: string;
|
deviceName: string;
|
||||||
icon: string;
|
colorA: string;
|
||||||
}>();
|
colorB: string;
|
||||||
|
icon: string;
|
||||||
|
};
|
||||||
const { register } = useAuth();
|
const { register } = useAuth();
|
||||||
|
|
||||||
const [passphrase, setPassphrase] = useState("");
|
const [passphrase, setPassphrase] = useState("");
|
||||||
|
Reference in New Issue
Block a user