mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-06 02:00:46 +00:00
fix typescript
This commit is contained in:
1 parent
62534d098b
commit
f893572fec
1 file changed
+1
-1
+1
-1
@@ -24,7 +24,7 @@ export default function OnboardingSelection(props: OnboardingSelectionProps) {
|
||||
|
||||
const visitUrl = (url: string) => {
|
||||
if (url.startsWith("https://")) {
|
||||
document.location = url;
|
||||
document.location.href = url;
|
||||
} else {
|
||||
history.push(url);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user