Skip to content

Commit

Permalink
web/satellite: fix vue warnings
Browse files Browse the repository at this point in the history
This change addresses previously unseen warnings that are shown in the
console if NODE_ENV is in development.

Change-Id: I285dc51a184799aa1b6ed8f7ae6d8a18aedaf1a6
  • Loading branch information
wilfred-asomanii authored and Storj Robot committed Feb 13, 2024
1 parent 386d614 commit 8275cf6
Show file tree
Hide file tree
Showing 38 changed files with 47 additions and 47 deletions.
Expand Up @@ -127,7 +127,7 @@ const configStore = useConfigStore();
const ipRegexp = /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$/;
const props = withDefaults(defineProps<{
openCreated: boolean,
openCreated?: boolean,
}>(), {
openCreated: true,
});
Expand Down
Expand Up @@ -179,7 +179,7 @@ class StepInfo {
}
const props = withDefaults(defineProps<{
isCreate: boolean;
isCreate?: boolean;
}>(), {
isCreate: false,
});
Expand Down
Expand Up @@ -126,7 +126,7 @@ const plan = ref<PricingPlanInfo>();
const content = ref<HTMLElement | null>(null);
const props = withDefaults(defineProps<{
scrim: boolean,
scrim?: boolean,
}>(), {
scrim: true,
});
Expand Down
4 changes: 2 additions & 2 deletions web/satellite/src/components/icons/IconAccess.vue
Expand Up @@ -11,8 +11,8 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
size: number | string;
bold: boolean;
size?: number | string;
bold?: boolean;
}>(), {
size: 20,
bold: false,
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconAllProjects.vue
Expand Up @@ -13,7 +13,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
color: string;
color?: string;
}>(), {
color: 'currentColor',
});
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconBlueCheckmark.vue
Expand Up @@ -11,7 +11,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
size: number | string;
size?: number | string;
}>(), {
size: 100,
});
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconBucket.vue
Expand Up @@ -11,7 +11,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
bold: boolean;
bold?: boolean;
}>(), {
bold: false,
});
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconBusiness.vue
Expand Up @@ -15,7 +15,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
size: number | string;
size?: number | string;
}>(), {
size: 50,
});
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconCard.vue
Expand Up @@ -9,7 +9,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
size: number | string;
size?: number | string;
}>(), {
size: 20,
});
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconCardView.vue
Expand Up @@ -12,7 +12,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
size: number | string;
size?: number | string;
}>(), {
size: 24,
});
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconCloud.vue
Expand Up @@ -9,7 +9,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
size: number | string;
size?: number | string;
}>(), {
size: 20,
});
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconCopy.vue
Expand Up @@ -10,7 +10,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
size: number;
size?: number;
}>(), {
size: 18,
});
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconDashboard.vue
Expand Up @@ -10,7 +10,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
color: string;
color?: string;
}>(), {
color: 'currentColor',
});
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconDistribution.vue
Expand Up @@ -9,7 +9,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
size: number | string;
size?: number | string;
}>(), {
size: 18,
});
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconDocs.vue
Expand Up @@ -10,7 +10,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
color: string;
color?: string;
}>(), {
color: 'currentColor',
});
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconFile.vue
Expand Up @@ -10,7 +10,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
size: number | string;
size?: number | string;
}>(), {
size: 20,
});
Expand Down
6 changes: 3 additions & 3 deletions web/satellite/src/components/icons/IconFolder.vue
Expand Up @@ -11,9 +11,9 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
size: number | string;
color: string;
bold: boolean;
size?: number | string;
color?: string;
bold?: boolean;
}>(), {
size: 16,
color: 'currentColor',
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconForum.vue
Expand Up @@ -10,7 +10,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
color: string;
color?: string;
}>(), {
color: 'currentColor',
});
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconGlobe.vue
Expand Up @@ -9,7 +9,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
size: number | string;
size?: number | string;
}>(), {
size: 20,
});
Expand Down
4 changes: 2 additions & 2 deletions web/satellite/src/components/icons/IconInfo.vue
Expand Up @@ -9,8 +9,8 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
color: string;
size: number;
color?: string;
size?: number;
}>(), {
color: 'currentColor',
size: 16,
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconLocation.vue
Expand Up @@ -8,7 +8,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
size: number | string;
size?: number | string;
}>(), {
size: 16,
});
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconLogout.vue
Expand Up @@ -9,7 +9,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
size: number | string;
size?: number | string;
}>(), {
size: 18,
});
Expand Down
6 changes: 3 additions & 3 deletions web/satellite/src/components/icons/IconNew.vue
Expand Up @@ -11,9 +11,9 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
color: string;
size: number | string;
bold: boolean;
color?: string;
size?: number | string;
bold?: boolean;
}>(), {
color: 'currentColor',
size: 20,
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconPassphrase.vue
Expand Up @@ -10,7 +10,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
color: string;
color?: string;
}>(), {
color: 'currentColor',
});
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconPersonal.vue
Expand Up @@ -11,7 +11,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
size: number | string;
size?: number | string;
}>(), {
size: 50,
});
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconProject.vue
Expand Up @@ -10,7 +10,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
color: string;
color?: string;
}>(), {
color: 'currentColor',
});
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconResources.vue
Expand Up @@ -10,7 +10,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
color: string;
color?: string;
}>(), {
color: 'currentColor',
});
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconSatellite.vue
Expand Up @@ -9,7 +9,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
size: number | string;
size?: number | string;
}>(), {
size: 20,
});
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconSettings.vue
Expand Up @@ -10,7 +10,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
color: string;
color?: string;
}>(), {
color: 'currentColor',
});
Expand Down
4 changes: 2 additions & 2 deletions web/satellite/src/components/icons/IconShare.vue
Expand Up @@ -10,8 +10,8 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
size: number | string;
bold: boolean;
size?: number | string;
bold?: boolean;
}>(), {
size: 18,
bold: false,
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconStorjLogo.vue
Expand Up @@ -10,7 +10,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
size: number | string;
size?: number | string;
}>(), {
size: 50,
});
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconSupport.vue
Expand Up @@ -10,7 +10,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
color: string;
color?: string;
}>(), {
color: 'currentColor',
});
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconTableView.vue
Expand Up @@ -14,7 +14,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
size: number | string;
size?: number | string;
}>(), {
size: 24,
});
Expand Down
4 changes: 2 additions & 2 deletions web/satellite/src/components/icons/IconTeam.vue
Expand Up @@ -11,8 +11,8 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
size: number | string;
bold: boolean;
size?: number | string;
bold?: boolean;
}>(), {
size: 20,
bold: false,
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconTrash.vue
Expand Up @@ -10,7 +10,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
bold: boolean;
bold?: boolean;
}>(), {
bold: false,
});
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconUpgrade.vue
Expand Up @@ -9,7 +9,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
size: number | string;
size?: number | string;
}>(), {
size: 18,
});
Expand Down
4 changes: 2 additions & 2 deletions web/satellite/src/components/icons/IconUpload.vue
Expand Up @@ -9,8 +9,8 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
size: number;
color: string;
size?: number;
color?: string;
}>(), {
size: 16,
color: 'currentColor',
Expand Down
2 changes: 1 addition & 1 deletion web/satellite/src/components/icons/IconVersioning.vue
Expand Up @@ -9,7 +9,7 @@

<script setup lang="ts">
const props = withDefaults(defineProps<{
size: number | string;
size?: number | string;
}>(), {
size: 16,
});
Expand Down

0 comments on commit 8275cf6

Please sign in to comment.