File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ const props = defineProps<{
1010 loadIssueInfoUrl: string ,
1111}>();
1212
13- const loading = shallowRef < boolean > (false );
13+ const loading = shallowRef (false );
1414const issue = shallowRef <Issue >(null );
15- const renderedLabels = shallowRef < string > (' ' );
16- const errorMessage = shallowRef < string >( null );
15+ const renderedLabels = shallowRef (' ' );
16+ const errorMessage = shallowRef ( ' ' );
1717
1818const createdAt = computed (() => {
1919 return new Date (issue .value .created_at ).toLocaleDateString (undefined , {year: ' numeric' , month: ' short' , day: ' numeric' });
@@ -26,7 +26,7 @@ const body = computed(() => {
2626
2727onMounted (async () => {
2828 loading .value = true ;
29- errorMessage .value = null ;
29+ errorMessage .value = ' ' ;
3030 try {
3131 const resp = await GET (props .loadIssueInfoUrl );
3232 if (! resp .ok ) {
You can’t perform that action at this time.
0 commit comments