fix: fix the claim-add-raw view to work with axios

This commit is contained in:
2025-09-08 08:41:35 -06:00
parent d3c6f0ec27
commit 6482cfa6a3
2 changed files with 1 additions and 2 deletions

View File

@@ -1154,6 +1154,7 @@ export default class AccountViewView extends Vue {
} catch (error) {
if (error.status === 404) {
// this is ok: the profile is not yet created
logger.info("Note that axios may have logged an error but it just doesn't exist.");
} else {
databaseUtil.logConsoleAndDb(
"Error loading profile: " + errorStringForLog(error),

View File

@@ -30,7 +30,6 @@
<script lang="ts">
import { Component, Vue } from "vue-facing-decorator";
import { AxiosInstance } from "axios";
import QuickNav from "../components/QuickNav.vue";
import { NotificationIface, USE_DEXIE_DB } from "../constants/app";
@@ -54,7 +53,6 @@ export default class ClaimAddRawView extends Vue {
$notify!: (notification: NotificationIface, timeout?: number) => void;
$route!: RouteLocationNormalizedLoaded;
$router!: Router;
axios!: AxiosInstance;
accountIdentityStr: string = "null";
activeDid = "";