Skip to content

Commit

Permalink
chore: Remove todo's
Browse files Browse the repository at this point in the history
  • Loading branch information
samuveth committed Jan 24, 2024
1 parent afa524a commit 9a6d9fb
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 13 deletions.
2 changes: 0 additions & 2 deletions src/assets/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@
opacity: 0;
}

// TODO: Move this to BaseLink components
a,
.a {
color: var(--link-color);
Expand All @@ -147,7 +146,6 @@ a,
}
}

// TODO: Move this and ::placeholder to a new BaseInput component
.input {
@apply bg-transparent text-skin-link outline-none;
}
Expand Down
6 changes: 0 additions & 6 deletions src/composables/useFormValidation.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
/**
* A composable hook that returns the validation errors of the form as
* a string or returns an empty string if there are no errors.
* TODO: Extent and use this hook to validate the settings form and all future forms.
*/

import defaults from '@/locales/default.json';
import { validateSchema } from '@snapshot-labs/snapshot.js/src/utils';
import { watchDebounced } from '@vueuse/core';
Expand Down
2 changes: 0 additions & 2 deletions src/composables/useImageUpload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ export function useImageUpload() {
isUploadingImage.value = true;
const formData = new FormData();

// TODO: Make this composable useFileUpload

if (!['image/jpeg', 'image/jpg', 'image/png'].includes(file.type)) {
imageUploadError.value = t('errors.unsupportedImageType');
isUploadingImage.value = false;
Expand Down
1 change: 0 additions & 1 deletion src/plugins/gnosis/components/CustomBlock.vue
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ export default {
{{ $t('predictedImpact') }}
</b>
<div class="float-right">
<!-- TODO: use tooltip component -->
<span :aria-label="baseToken.name" class="tooltipped tooltipped-n">
<img
class="circle inline-block border !align-middle leading-none"
Expand Down
3 changes: 1 addition & 2 deletions src/plugins/oSnap/Create.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
getIsOsnapEnabled,
getModuleAddressForTreasury
} from './utils';
import OsnapMarketingWidget from './components/OsnapMarketingWidget.vue'
import OsnapMarketingWidget from './components/OsnapMarketingWidget.vue';
const props = defineProps<{
space: ExtendedSpace;
Expand Down Expand Up @@ -72,7 +72,6 @@ async function fetchTokens(url: string): Promise<Token[]> {
}
}
// todo: wire up and use these balances to enrich details in the ui, e.g. 'your safe does not have enough funds for this transaction'
async function fetchBalances(network: Network, safeAddress: string) {
if (!safeAddress) {
return [];
Expand Down

0 comments on commit 9a6d9fb

Please sign in to comment.