Skip to content

Commit

Permalink
updated formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sandygudie committed May 6, 2024
1 parent 2f25ff2 commit 1930886
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions client/src/views/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ onMounted(async () => {
try {
const profileResponse = await getProfile(userId)
if (profileResponse.success) {
profileLinks.value.firstname = profileResponse.data[0].name.split(' ')[0]
profileLinks.value.lastname = profileResponse.data[0].name.split(' ')[1]
Expand All @@ -64,7 +63,6 @@ onMounted(async () => {
updatedLinks = JSON.parse(JSON.stringify(profileLinks.value))
shareId.value = profileResponse.data[0].shareId
}
isLoading.value = false
} catch (err: any) {
toast.error(err.toString(), {
Expand Down
2 changes: 2 additions & 0 deletions client/src/views/PublicView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@ import { getPublicDetails } from '@/utilis/api/profile'
import { useRoute } from 'vue-router'
import ArrowIcon from '../components/icons/ArrowIcon.vue'
import Spinner from '../components/Spinner.vue'
const profileLinks = ref<{} | any>({
firstname: '',
lastname: '',
profilepic: '',
devlinks: [],
email: ''
})
const isLoading = ref<boolean>(false)
const route = useRoute()
Expand Down
2 changes: 1 addition & 1 deletion server/fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ primary_region = "ams"
[http_service]
internal_port = 3000
force_https = true
auto_stop_machines = true
auto_stop_machines = false
auto_start_machines = true
min_machines_running = 0
processes = ["app"]

0 comments on commit 1930886

Please sign in to comment.