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